#124E24#124E24

#124E24 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.092 H 149.3°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#124E24
RGBrgb(18, 78, 36)
HSLhsl(138, 63%, 19%)
HSVhsv(138, 77%, 31%)
CMYKcmyk(76.9%, 0%, 53.8%, 69.4%)
CIE-LABlab(28.65, -29.49, 19.42)
CIE-LCHlch(28.65, 35.31, 146.63°)
OKLaboklab(37.5% -0.0794 0.0472)
OKLCHoklch(37.5% 0.092 149.3)
XYZxyz(3.2920, 5.7044, 2.5963)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E24 #4E123C
analogous
#1E4E12 #124E24 #124E42
triadic
#124E24 #24124E #4E2412
tetradic
#124E24 #121E4E #4E123C #4E4212
square
#124E24 #121E4E #4E123C #4E4212
split-complementary
#124E24 #42124E #4E121E
monochromatic
#06190B #071C0D #124E24 #1D803B #29B152

Accessibility & contrast

On white

9.81
#124E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E24
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E24#FFFFFF#000000##FFFFFF
##124E241.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4721
Deuteranopia (green-blind)
#474227
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124e24;
/* rgb */ color: rgb(18, 78, 36);
/* oklch */ color: oklch(37.5% 0.092 149.3);
Tailwind
colors: {
  custom: {
    50: '#5a805f',
    500: '#124e24',
    950: '#000000',
  },
}
SCSS
$custom: #124e24;
$custom-light: #5a805f;
$custom-dark: #000000;
JSON
{
  "hex": "#124e24",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 36
  },
  "hsl": {
    "h": 138,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37501,
    "c": 0.0924,
    "h": 149.3
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#124E24
secondary
#87356E
accent
#42B5E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E24

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

Preview Lab → · Contrast checker → · Palette generator →

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