#124D20#124D20

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

Color values

HEX#124D20
RGBrgb(18, 77, 32)
HSLhsl(134, 62%, 19%)
HSVhsv(134, 77%, 30%)
CMYKcmyk(76.6%, 0%, 58.4%, 69.8%)
CIE-LABlab(28.22, -29.77, 21.21)
CIE-LCHlch(28.22, 36.55, 144.53°)
OKLaboklab(37.12% -0.0802 0.051)
OKLCHoklch(37.12% 0.095 147.6)
XYZxyz(3.1638, 5.5403, 2.2689)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D20 #4D123F
analogous
#214D12 #124D20 #124D3D
triadic
#124D20 #20124D #4D2012
tetradic
#124D20 #12214D #4D123F #4D3D12
square
#124D20 #12214D #4D123F #4D3D12
split-complementary
#124D20 #3D124D #4D1221
monochromatic
#06190A #061B0B #124D20 #1E7F35 #29B049

Accessibility & contrast

On white

9.96
#124D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124D20
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D20#FFFFFF#000000##FFFFFF
##124D201.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E461C
Deuteranopia (green-blind)
#474123
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124d20;
/* rgb */ color: rgb(18, 77, 32);
/* oklch */ color: oklch(37.1% 0.095 147.6);
Tailwind
colors: {
  custom: {
    50: '#5a7f5c',
    500: '#124d20',
    950: '#000000',
  },
}
SCSS
$custom: #124d20;
$custom-light: #5a7f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#124d20",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 32
  },
  "hsl": {
    "h": 134.237,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.37124,
    "c": 0.09505,
    "h": 147.6
  },
  "luminance": 0.05541
}

Semantic roles & 50–950 ramp

primary
#124D20
secondary
#863573
accent
#43BFE5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124D20

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

Preview Lab → · Contrast checker → · Palette generator →

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