#124D1E#124D1E

#124D1E is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.1% C 0.097 H 146.7°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#124D1E
RGBrgb(18, 77, 30)
HSLhsl(132, 62%, 19%)
HSVhsv(132, 77%, 30%)
CMYKcmyk(76.6%, 0%, 61%, 69.8%)
CIE-LABlab(28.19, -30.10, 22.31)
CIE-LCHlch(28.19, 37.46, 143.46°)
OKLaboklab(37.09% -0.0812 0.0533)
OKLCHoklch(37.09% 0.097 146.7)
XYZxyz(3.1375, 5.5297, 2.1300)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D1E #4D1241
analogous
#234D12 #124D1E #124D3B
triadic
#124D1E #1E124D #4D1E12
tetradic
#124D1E #12234D #4D1241 #4D3B12
square
#124D1E #12234D #4D1241 #4D3B12
split-complementary
#124D1E #3B124D #4D1223
monochromatic
#06190A #061B0B #124D1E #1E7F31 #29B045

Accessibility & contrast

On white

9.97
#124D1E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124D1E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D1E#FFFFFF#000000##FFFFFF
##124D1E1.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451A
Deuteranopia (green-blind)
#474122
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d1e;
/* rgb */ color: rgb(18, 77, 30);
/* oklch */ color: oklch(37.1% 0.097 146.7);
Tailwind
colors: {
  custom: {
    50: '#5a7f5b',
    500: '#124d1e',
    950: '#000000',
  },
}
SCSS
$custom: #124d1e;
$custom-light: #5a7f5b;
$custom-dark: #000000;
JSON
{
  "hex": "#124d1e",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 30
  },
  "hsl": {
    "h": 132.203,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37092,
    "c": 0.09707,
    "h": 146.7
  },
  "luminance": 0.0553
}

Semantic roles & 50–950 ramp

primary
#124D1E
secondary
#863575
accent
#43C4E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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