#124F21

A color in the Green family

#124f21 is a color in the Green family: RGB(18, 79, 33), HSL(135°, 63%, 19%), CMYK(77%, 0%, 58%, 69%). Closest named color: darkgreen. Contrast is 9.69:1 on white and 2.17:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#124f21
RGBrgb(18 79 33)
RGB (legacy)rgb(18, 79, 33)
RGB %rgb(7% 31% 13%)
HSLhsl(135 63% 19%)
HSV / HSBhsv(135, 77%, 31%)
HWBhwb(135 7% 69%)
CMYKcmyk(77%, 0%, 58%, 69%)
CIELAB (D50)lab(28.98 -28.46 21.13)
LCHlch(28.98 35.45 143.42)
OKLaboklab(0.3776 -0.082 0.0518)
OKLCHoklch(0.3776 0.097 147.7)
Decimal1199905

Properties

Color ToneGreen
Closest named colordarkgreen ΔE 7.9
Closest web-safe color#006633
Hue135°
Saturation (HSL / HSV)63% / 77%
Lightness (HSL)19%
Brightness or Value (HSV)31%
Luminance (Rec.601 / Rec.709)22% / 25%
Relative luminance (WCAG)0.0583
Red / Green / Blue18 / 79 / 33

WCAG 2.2 Contrast Ratio

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

APCA Contrast Lc (reference) — As text on white / black: Lc 92.1 / -10.3 · As background with white / black text: Lc -96.4 / 11.8

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: #124f21;
  --color-brand-oklch: oklch(37.76% 0.097 147.7);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(18 79 33 / 50%); }
/* Tailwind CSS */
<div class="bg-[#124f21] text-[#124f21] border-[#124f21]">