#124D17#124D17

#124D17 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.104 H 144.3°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#124D17
RGBrgb(18, 77, 23)
HSLhsl(125, 62%, 19%)
HSVhsv(125, 77%, 30%)
CMYKcmyk(76.6%, 0%, 70.1%, 69.8%)
CIE-LABlab(28.11, -31.10, 25.96)
CIE-LCHlch(28.11, 40.51, 140.15°)
OKLaboklab(36.99% -0.0842 0.0605)
OKLCHoklch(36.99% 0.104 144.3)
XYZxyz(3.0578, 5.4979, 1.7105)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124D17 #4D1248
analogous
#2A4D12 #124D17 #124D34
triadic
#124D17 #17124D #4D1712
tetradic
#124D17 #122A4D #4D1248 #4D3412
square
#124D17 #122A4D #4D1248 #4D3412
split-complementary
#124D17 #34124D #4D122A
monochromatic
#061907 #061B08 #124D17 #1E7F26 #29B035

Accessibility & contrast

On white

10.00
#124D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#124D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124D17
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124D17#FFFFFF#000000##FFFFFF
##124D171.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4511
Deuteranopia (green-blind)
#48401C
Tritanopia (blue-blind)
#014B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #124d17;
/* rgb */ color: rgb(18, 77, 23);
/* oklch */ color: oklch(37.0% 0.104 144.3);
Tailwind
colors: {
  custom: {
    50: '#5a7f56',
    500: '#124d17',
    950: '#000000',
  },
}
SCSS
$custom: #124d17;
$custom-light: #5a7f56;
$custom-dark: #000000;
JSON
{
  "hex": "#124d17",
  "rgb": {
    "r": 18,
    "g": 77,
    "b": 23
  },
  "hsl": {
    "h": 125.085,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.36994,
    "c": 0.10363,
    "h": 144.3
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#124D17
secondary
#86357F
accent
#43D7E5
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124D17

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

Preview Lab → · Contrast checker → · Palette generator →

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