#124D1F#124D1F

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

Color values

HEX#124D1F
RGBrgb(18, 77, 31)
HSLhsl(133, 62%, 19%)
HSVhsv(133, 77%, 30%)
CMYKcmyk(76.6%, 0%, 59.7%, 69.8%)
CIE-LABlab(28.21, -29.94, 21.76)
CIE-LCHlch(28.21, 37.01, 143.99°)
OKLaboklab(37.11% -0.0807 0.0521)
OKLCHoklch(37.11% 0.096 147.1)
XYZxyz(3.1504, 5.5349, 2.1984)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D1F #4D1240
analogous
#224D12 #124D1F #124D3C
triadic
#124D1F #1F124D #4D1F12
tetradic
#124D1F #12224D #4D1240 #4D3C12
square
#124D1F #12224D #4D1240 #4D3C12
split-complementary
#124D1F #3C124D #4D1222
monochromatic
#06190A #061B0B #124D1F #1E7F33 #29B047

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124D1F#FFFFFF#000000##FFFFFF
##124D1F1.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)
#4E461B
Deuteranopia (green-blind)
#474122
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d1f;
/* rgb */ color: rgb(18, 77, 31);
/* oklch */ color: oklch(37.1% 0.096 147.1);
Tailwind
colors: {
  custom: {
    50: '#5a7f5c',
    500: '#124d1f',
    950: '#000000',
  },
}
SCSS
$custom: #124d1f;
$custom-light: #5a7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#124d1f",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 31
  },
  "hsl": {
    "h": 133.22,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37108,
    "c": 0.09606,
    "h": 147.1
  },
  "luminance": 0.05535
}

Semantic roles & 50–950 ramp

primary
#124D1F
secondary
#863574
accent
#43C1E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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