#124E20#124E20

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

Color values

HEX#124E20
RGBrgb(18, 78, 32)
HSLhsl(134, 63%, 19%)
HSVhsv(134, 77%, 31%)
CMYKcmyk(76.9%, 0%, 59%, 69.4%)
CIE-LABlab(28.59, -30.19, 21.66)
CIE-LCHlch(28.59, 37.16, 144.34°)
OKLaboklab(37.43% -0.0813 0.052)
OKLCHoklch(37.43% 0.097 147.4)
XYZxyz(3.2343, 5.6813, 2.2924)
Luminance0.0568 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E20 #4E1240
analogous
#224E12 #124E20 #124E3E
triadic
#124E20 #20124E #4E2012
tetradic
#124E20 #12224E #4E1240 #4E3E12
square
#124E20 #12224E #4E1240 #4E3E12
split-complementary
#124E20 #3E124E #4E1222
monochromatic
#06190A #071C0C #124E20 #1D8034 #29B149

Accessibility & contrast

On white

9.83
#124E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#124E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124E20
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E20#FFFFFF#000000##FFFFFF
##124E201.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461C
Deuteranopia (green-blind)
#484123
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e20;
/* rgb */ color: rgb(18, 78, 32);
/* oklch */ color: oklch(37.4% 0.097 147.4);
Tailwind
colors: {
  custom: {
    50: '#5a805d',
    500: '#124e20',
    950: '#000000',
  },
}
SCSS
$custom: #124e20;
$custom-light: #5a805d;
$custom-dark: #000000;
JSON
{
  "hex": "#124e20",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 32
  },
  "hsl": {
    "h": 134,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37432,
    "c": 0.09654,
    "h": 147.4
  },
  "luminance": 0.05682
}

Semantic roles & 50–950 ramp

primary
#124E20
secondary
#873574
accent
#42BFE6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #124E20

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

Preview Lab → · Contrast checker → · Palette generator →

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