#124F17#124F17

#124F17 is a dark, moderate green. Relative luminance 0.058; OKLCH L 37.6% C 0.106 H 144.2°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#124F17
RGBrgb(18, 79, 23)
HSLhsl(125, 63%, 19%)
HSVhsv(125, 77%, 31%)
CMYKcmyk(77.2%, 0%, 70.9%, 69%)
CIE-LABlab(28.86, -31.90, 26.79)
CIE-LCHlch(28.86, 41.65, 139.97°)
OKLaboklab(37.61% -0.0863 0.0622)
OKLCHoklch(37.61% 0.106 144.2)
XYZxyz(3.1999, 5.7821, 1.7579)
Luminance0.0578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124F17 #4F124A
analogous
#2C4F12 #124F17 #124F36
triadic
#124F17 #17124F #4F1712
tetradic
#124F17 #122C4F #4F124A #4F3612
square
#124F17 #122C4F #4F124A #4F3612
split-complementary
#124F17 #36124F #4F122C
monochromatic
#061907 #071D08 #124F17 #1D8126 #29B334

Accessibility & contrast

On white

9.74
#124F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#124F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124F17
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124F17#FFFFFF#000000##FFFFFF
##124F171.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514710
Deuteranopia (green-blind)
#4A421C
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #124f17;
/* rgb */ color: rgb(18, 79, 23);
/* oklch */ color: oklch(37.6% 0.106 144.2);
Tailwind
colors: {
  custom: {
    50: '#5b8157',
    500: '#124f17',
    950: '#000000',
  },
}
SCSS
$custom: #124f17;
$custom-light: #5b8157;
$custom-dark: #000000;
JSON
{
  "hex": "#124f17",
  "rgb": {
    "r": 18,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 124.918,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37613,
    "c": 0.1064,
    "h": 144.2
  },
  "luminance": 0.05782
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #124F17

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

Preview Lab → · Contrast checker → · Palette generator →

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