#124E1D#124E1D

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

Color values

HEX#124E1D
RGBrgb(18, 78, 29)
HSLhsl(131, 63%, 19%)
HSVhsv(131, 77%, 31%)
CMYKcmyk(76.9%, 0%, 62.8%, 69.4%)
CIE-LABlab(28.55, -30.66, 23.29)
CIE-LCHlch(28.55, 38.51, 142.79°)
OKLaboklab(37.39% -0.0827 0.0553)
OKLCHoklch(37.39% 0.1 146.2)
XYZxyz(3.1954, 5.6657, 2.0874)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E1D #4E1243
analogous
#254E12 #124E1D #124E3B
triadic
#124E1D #1D124E #4E1D12
tetradic
#124E1D #12254E #4E1243 #4E3B12
square
#124E1D #12254E #4E1243 #4E3B12
split-complementary
#124E1D #3B124E #4E1225
monochromatic
#061909 #071C0B #124E1D #1D802F #29B142

Accessibility & contrast

On white

9.84
#124E1D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#124E1D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E1D
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E1D#FFFFFF#000000##FFFFFF
##124E1D1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4618
Deuteranopia (green-blind)
#484121
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e1d;
/* rgb */ color: rgb(18, 78, 29);
/* oklch */ color: oklch(37.4% 0.100 146.2);
Tailwind
colors: {
  custom: {
    50: '#5a805a',
    500: '#124e1d',
    950: '#000000',
  },
}
SCSS
$custom: #124e1d;
$custom-light: #5a805a;
$custom-dark: #000000;
JSON
{
  "hex": "#124e1d",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 29
  },
  "hsl": {
    "h": 131,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37385,
    "c": 0.09951,
    "h": 146.2
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#124E1D
secondary
#873578
accent
#42C8E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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