#124E1B#124E1B

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

Color values

HEX#124E1B
RGBrgb(18, 78, 27)
HSLhsl(129, 63%, 19%)
HSVhsv(129, 77%, 31%)
CMYKcmyk(76.9%, 0%, 65.4%, 69.4%)
CIE-LABlab(28.53, -30.96, 24.34)
CIE-LCHlch(28.53, 39.39, 141.82°)
OKLaboklab(37.36% -0.0836 0.0574)
OKLCHoklch(37.36% 0.101 145.5)
XYZxyz(3.1715, 5.6562, 1.9613)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E1B #4E1245
analogous
#274E12 #124E1B #124E39
triadic
#124E1B #1B124E #4E1B12
tetradic
#124E1B #12274E #4E1245 #4E3912
square
#124E1B #12274E #4E1245 #4E3912
split-complementary
#124E1B #39124E #4E1227
monochromatic
#061909 #071C0A #124E1B #1D802C #29B13D

Accessibility & contrast

On white

9.85
#124E1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E1B
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E1B#FFFFFF#000000##FFFFFF
##124E1B1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4616
Deuteranopia (green-blind)
#48411F
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e1b;
/* rgb */ color: rgb(18, 78, 27);
/* oklch */ color: oklch(37.4% 0.101 145.5);
Tailwind
colors: {
  custom: {
    50: '#5a8059',
    500: '#124e1b',
    950: '#000000',
  },
}
SCSS
$custom: #124e1b;
$custom-light: #5a8059;
$custom-dark: #000000;
JSON
{
  "hex": "#124e1b",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 27
  },
  "hsl": {
    "h": 129,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37356,
    "c": 0.10142,
    "h": 145.5
  },
  "luminance": 0.05657
}

Semantic roles & 50–950 ramp

primary
#124E1B
secondary
#87357B
accent
#42CDE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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