#124E1E#124E1E

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

Color values

HEX#124E1E
RGBrgb(18, 78, 30)
HSLhsl(132, 63%, 19%)
HSVhsv(132, 77%, 31%)
CMYKcmyk(76.9%, 0%, 61.5%, 69.4%)
CIE-LABlab(28.57, -30.51, 22.75)
CIE-LCHlch(28.57, 38.06, 143.29°)
OKLaboklab(37.4% -0.0823 0.0542)
OKLCHoklch(37.4% 0.099 146.6)
XYZxyz(3.2080, 5.6708, 2.1535)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E1E #4E1242
analogous
#244E12 #124E1E #124E3C
triadic
#124E1E #1E124E #4E1E12
tetradic
#124E1E #12244E #4E1242 #4E3C12
square
#124E1E #12244E #4E1242 #4E3C12
split-complementary
#124E1E #3C124E #4E1224
monochromatic
#06190A #071C0B #124E1E #1D8031 #29B144

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124E1E#FFFFFF#000000##FFFFFF
##124E1E1.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)
#4F4619
Deuteranopia (green-blind)
#484122
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e1e;
/* rgb */ color: rgb(18, 78, 30);
/* oklch */ color: oklch(37.4% 0.099 146.6);
Tailwind
colors: {
  custom: {
    50: '#5a805b',
    500: '#124e1e',
    950: '#000000',
  },
}
SCSS
$custom: #124e1e;
$custom-light: #5a805b;
$custom-dark: #000000;
JSON
{
  "hex": "#124e1e",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 30
  },
  "hsl": {
    "h": 132,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.374,
    "c": 0.09854,
    "h": 146.6
  },
  "luminance": 0.05671
}

Semantic roles & 50–950 ramp

primary
#124E1E
secondary
#873577
accent
#42C5E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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