#048B21

A color in the Green family

#048b21 is a color in the Green family: RGB(4, 139, 33), HSL(133°, 94%, 28%), CMYK(97%, 0%, 76%, 45%). Closest named color: forestgreen. Contrast is 4.45:1 on white and 4.72:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#048b21
RGBrgb(4 139 33)
RGB (legacy)rgb(4, 139, 33)
RGB %rgb(2% 55% 13%)
HSLhsl(133 94% 28%)
HSV / HSBhsv(133, 97%, 55%)
HWBhwb(133 2% 45%)
CMYKcmyk(97%, 0%, 76%, 45%)
CIELAB (D50)lab(50.25 -48.98 43.85)
LCHlch(50.25 65.74 138.16)
OKLaboklab(0.5536 -0.1426 0.1015)
OKLCHoklch(0.5536 0.1751 144.55)
Decimal297761

Properties

Color ToneGreen
Closest named colorforestgreen ΔE 0.9
Closest web-safe color#009933
Hue133°
Saturation (HSL / HSV)94% / 97%
Lightness (HSL)28%
Brightness or Value (HSV)55%
Luminance (Rec.601 / Rec.709)34% / 40%
Relative luminance (WCAG)0.186
Red / Green / Blue4 / 139 / 33

WCAG 2.2 Contrast Ratio

On White (#ffffff)
4.45:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
4.72:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 70.2 / -31.5 · As background with white / black text: Lc -75.6 / 33.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #048b21;
  --color-brand-oklch: oklch(55.36% 0.1751 144.55);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(4 139 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#048b21] text-[#048b21] border-[#048b21]">