#124D24#124D24

#124D24 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.2% C 0.091 H 149.5°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#124D24
RGBrgb(18, 77, 36)
HSLhsl(138, 62%, 19%)
HSVhsv(138, 77%, 30%)
CMYKcmyk(76.6%, 0%, 53.2%, 69.8%)
CIE-LABlab(28.28, -29.06, 18.96)
CIE-LCHlch(28.28, 34.70, 146.88°)
OKLaboklab(37.2% -0.0783 0.0462)
OKLCHoklch(37.2% 0.091 149.5)
XYZxyz(3.2215, 5.5634, 2.5728)
Luminance0.0556 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D24 #4D123B
analogous
#1D4D12 #124D24 #124D41
triadic
#124D24 #24124D #4D2412
tetradic
#124D24 #121D4D #4D123B #4D4112
square
#124D24 #121D4D #4D123B #4D4112
split-complementary
#124D24 #41124D #4D121D
monochromatic
#06190C #061B0D #124D24 #1E7F3B #29B052

Accessibility & contrast

On white

9.94
#124D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#124D24 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D24
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D24#FFFFFF#000000##FFFFFF
##124D241.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4621
Deuteranopia (green-blind)
#464127
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d24;
/* rgb */ color: rgb(18, 77, 36);
/* oklch */ color: oklch(37.2% 0.091 149.5);
Tailwind
colors: {
  custom: {
    50: '#597f5f',
    500: '#124d24',
    950: '#000000',
  },
}
SCSS
$custom: #124d24;
$custom-light: #597f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#124d24",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 36
  },
  "hsl": {
    "h": 138.305,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37195,
    "c": 0.09088,
    "h": 149.5
  },
  "luminance": 0.05564
}

Semantic roles & 50–950 ramp

primary
#124D24
secondary
#86356D
accent
#43B4E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124D24

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

Preview Lab → · Contrast checker → · Palette generator →

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