#124B18#124B18

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

Color values

HEX#124B18
RGBrgb(18, 75, 24)
HSLhsl(126, 61%, 18%)
HSVhsv(126, 76%, 29%)
CMYKcmyk(76%, 0%, 68%, 70.6%)
CIE-LABlab(27.37, -30.16, 24.61)
CIE-LCHlch(27.37, 38.93, 140.79°)
OKLaboklab(36.39% -0.0816 0.0577)
OKLCHoklch(36.39% 0.1 144.7)
XYZxyz(2.9302, 5.2264, 1.7183)
Luminance0.0523 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#124B18 #4B1245
analogous
#284B12 #124B18 #124B34
triadic
#124B18 #18124B #4B1812
tetradic
#124B18 #12284B #4B1245 #4B3412
square
#124B18 #12284B #4B1245 #4B3412
split-complementary
#124B18 #34124B #4B1228
monochromatic
#061908 #061A08 #124B18 #1E7C28 #2AAE38

Accessibility & contrast

On white

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

On black

2.05
#124B18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##124B18#FFFFFF#000000##FFFFFF
##124B181.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #124b18;
/* rgb */ color: rgb(18, 75, 24);
/* oklch */ color: oklch(36.4% 0.100 144.7);
Tailwind
colors: {
  custom: {
    50: '#597e57',
    500: '#124b18',
    950: '#000000',
  },
}
SCSS
$custom: #124b18;
$custom-light: #597e57;
$custom-dark: #000000;
JSON
{
  "hex": "#124b18",
  "rgb": {
    "r": 18,
    "g": 75,
    "b": 24
  },
  "hsl": {
    "h": 126.316,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.0999,
    "h": 144.7
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#124B18
secondary
#84357C
accent
#43D3E4
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #124B18

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

Preview Lab → · Contrast checker → · Palette generator →

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