#124D1B#124D1B

#124D1B is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.100 H 145.6°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#124D1B
RGBrgb(18, 77, 27)
HSLhsl(129, 62%, 19%)
HSVhsv(129, 77%, 30%)
CMYKcmyk(76.6%, 0%, 64.9%, 69.8%)
CIE-LABlab(28.15, -30.55, 23.91)
CIE-LCHlch(28.15, 38.80, 141.95°)
OKLaboklab(37.05% -0.0825 0.0565)
OKLCHoklch(37.05% 0.1 145.6)
XYZxyz(3.1009, 5.5151, 1.9378)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D1B #4D1244
analogous
#264D12 #124D1B #124D38
triadic
#124D1B #1B124D #4D1B12
tetradic
#124D1B #12264D #4D1244 #4D3812
square
#124D1B #12264D #4D1244 #4D3812
split-complementary
#124D1B #38124D #4D1226
monochromatic
#061909 #061B0A #124D1B #1E7F2C #29B03E

Accessibility & contrast

On white

9.99
#124D1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124D1B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D1B
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D1B#FFFFFF#000000##FFFFFF
##124D1B1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4516
Deuteranopia (green-blind)
#47411F
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d1b;
/* rgb */ color: rgb(18, 77, 27);
/* oklch */ color: oklch(37.0% 0.100 145.6);
Tailwind
colors: {
  custom: {
    50: '#5a7f59',
    500: '#124d1b',
    950: '#000000',
  },
}
SCSS
$custom: #124d1b;
$custom-light: #5a7f59;
$custom-dark: #000000;
JSON
{
  "hex": "#124d1b",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 27
  },
  "hsl": {
    "h": 129.153,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37047,
    "c": 0.09998,
    "h": 145.6
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#124D1B
secondary
#86357A
accent
#43CCE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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