#124E17#124E17

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

Color values

HEX#124E17
RGBrgb(18, 78, 23)
HSLhsl(125, 63%, 19%)
HSVhsv(125, 77%, 31%)
CMYKcmyk(76.9%, 0%, 70.5%, 69.4%)
CIE-LABlab(28.48, -31.50, 26.38)
CIE-LCHlch(28.48, 41.08, 140.06°)
OKLaboklab(37.3% -0.0853 0.0613)
OKLCHoklch(37.3% 0.105 144.3)
XYZxyz(3.1283, 5.6389, 1.7340)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124E17 #4E1249
analogous
#2B4E12 #124E17 #124E35
triadic
#124E17 #17124E #4E1712
tetradic
#124E17 #122B4E #4E1249 #4E3512
square
#124E17 #122B4E #4E1249 #4E3512
split-complementary
#124E17 #35124E #4E122B
monochromatic
#061907 #071C08 #124E17 #1D8026 #29B134

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##124E17#FFFFFF#000000##FFFFFF
##124E171.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)
#504610
Deuteranopia (green-blind)
#49411C
Tritanopia (blue-blind)
#014C43
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #124e17;
/* rgb */ color: rgb(18, 78, 23);
/* oklch */ color: oklch(37.3% 0.105 144.3);
Tailwind
colors: {
  custom: {
    50: '#5a8057',
    500: '#124e17',
    950: '#000000',
  },
}
SCSS
$custom: #124e17;
$custom-light: #5a8057;
$custom-dark: #000000;
JSON
{
  "hex": "#124e17",
  "rgb": {
    "r": 18,
    "g": 78,
    "b": 23
  },
  "hsl": {
    "h": 125,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37304,
    "c": 0.10502,
    "h": 144.3
  },
  "luminance": 0.05639
}

Semantic roles & 50–950 ramp

primary
#124E17
secondary
#873580
accent
#42D8E6
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124E17

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

Preview Lab → · Contrast checker → · Palette generator →

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