#124E18#124E18

#124E18 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.104 H 144.6°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#124E18
RGBrgb(18, 78, 24)
HSLhsl(126, 63%, 19%)
HSVhsv(126, 77%, 31%)
CMYKcmyk(76.9%, 0%, 69.2%, 69.4%)
CIE-LABlab(28.49, -31.37, 25.88)
CIE-LCHlch(28.49, 40.67, 140.48°)
OKLaboklab(37.32% -0.0848 0.0604)
OKLCHoklch(37.32% 0.104 144.6)
XYZxyz(3.1385, 5.6430, 1.7878)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E18 #4E1248
analogous
#2A4E12 #124E18 #124E36
triadic
#124E18 #18124E #4E1812
tetradic
#124E18 #122A4E #4E1248 #4E3612
square
#124E18 #122A4E #4E1248 #4E3612
split-complementary
#124E18 #36124E #4E122A
monochromatic
#061908 #071C09 #124E18 #1D8027 #29B137

Accessibility & contrast

On white

9.87
#124E18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #124E18
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124E18#FFFFFF#000000##FFFFFF
##124E181.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504612
Deuteranopia (green-blind)
#48411D
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e18;
/* rgb */ color: rgb(18, 78, 24);
/* oklch */ color: oklch(37.3% 0.104 144.6);
Tailwind
colors: {
  custom: {
    50: '#5a8057',
    500: '#124e18',
    950: '#000000',
  },
}
SCSS
$custom: #124e18;
$custom-light: #5a8057;
$custom-dark: #000000;
JSON
{
  "hex": "#124e18",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 24
  },
  "hsl": {
    "h": 126,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37316,
    "c": 0.10415,
    "h": 144.6
  },
  "luminance": 0.05643
}

Semantic roles & 50–950 ramp

primary
#124E18
secondary
#87357F
accent
#42D5E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124E18

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

Preview Lab → · Contrast checker → · Palette generator →

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