#124B17#124B17

#124B17 is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.101 H 144.4°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#124B17
RGBrgb(18, 75, 23)
HSLhsl(125, 61%, 18%)
HSVhsv(125, 76%, 29%)
CMYKcmyk(76%, 0%, 69.3%, 70.6%)
CIE-LABlab(27.36, -30.29, 25.12)
CIE-LCHlch(27.36, 39.35, 140.34°)
OKLaboklab(36.37% -0.082 0.0587)
OKLCHoklch(36.37% 0.101 144.4)
XYZxyz(2.9200, 5.2223, 1.6646)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B17 #4B1246
analogous
#294B12 #124B17 #124B33
triadic
#124B17 #17124B #4B1712
tetradic
#124B17 #12294B #4B1246 #4B3312
square
#124B17 #12294B #4B1246 #4B3312
split-complementary
#124B17 #33124B #4B1229
monochromatic
#061908 #061A08 #124B17 #1E7C26 #2AAE35

Accessibility & contrast

On white

10.27
#124B17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#124B17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #124B17
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##124B17#FFFFFF#000000##FFFFFF
##124B171.0010.272.0410.27
#FFFFFF10.271.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C4311
Deuteranopia (green-blind)
#463F1B
Tritanopia (blue-blind)
#024940
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #124b17;
/* rgb */ color: rgb(18, 75, 23);
/* oklch */ color: oklch(36.4% 0.101 144.4);
Tailwind
colors: {
  custom: {
    50: '#5a7e56',
    500: '#124b17',
    950: '#000000',
  },
}
SCSS
$custom: #124b17;
$custom-light: #5a7e56;
$custom-dark: #000000;
JSON
{
  "hex": "#124b17",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 23
  },
  "hsl": {
    "h": 125.263,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36373,
    "c": 0.10081,
    "h": 144.4
  },
  "luminance": 0.05223
}

Semantic roles & 50–950 ramp

primary
#124B17
secondary
#84357D
accent
#43D6E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124B17

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

Preview Lab → · Contrast checker → · Palette generator →

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