#124E21#124E21

#124E21 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.096 H 147.8°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#124E21
RGBrgb(18, 78, 33)
HSLhsl(135, 63%, 19%)
HSVhsv(135, 77%, 31%)
CMYKcmyk(76.9%, 0%, 57.7%, 69.4%)
CIE-LABlab(28.61, -30.02, 21.11)
CIE-LCHlch(28.61, 36.70, 144.89°)
OKLaboklab(37.45% -0.0809 0.0508)
OKLCHoklch(37.45% 0.096 147.8)
XYZxyz(3.2481, 5.6868, 2.3650)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E21 #4E123F
analogous
#214E12 #124E21 #124E3F
triadic
#124E21 #21124E #4E2112
tetradic
#124E21 #12214E #4E123F #4E3F12
square
#124E21 #12214E #4E123F #4E3F12
split-complementary
#124E21 #3F124E #4E1221
monochromatic
#06190B #071C0C #124E21 #1D8036 #29B14B

Accessibility & contrast

On white

9.83
#124E21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124E21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E21
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E21#FFFFFF#000000##FFFFFF
##124E211.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#484124
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e21;
/* rgb */ color: rgb(18, 78, 33);
/* oklch */ color: oklch(37.4% 0.096 147.8);
Tailwind
colors: {
  custom: {
    50: '#5a805d',
    500: '#124e21',
    950: '#000000',
  },
}
SCSS
$custom: #124e21;
$custom-light: #5a805d;
$custom-dark: #000000;
JSON
{
  "hex": "#124e21",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 33
  },
  "hsl": {
    "h": 135,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37448,
    "c": 0.09552,
    "h": 147.8
  },
  "luminance": 0.05687
}

Semantic roles & 50–950 ramp

primary
#124E21
secondary
#873572
accent
#42BDE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E21

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#124E21 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva