#18420F#18420F

#18420F is a dark, moderate green. Relative luminance 0.041; OKLCH L 33.7% C 0.092 H 140.4°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#18420F
RGBrgb(24, 66, 15)
HSLhsl(109, 63%, 16%)
HSVhsv(109, 77%, 26%)
CMYKcmyk(63.6%, 0%, 77.3%, 74.1%)
CIE-LABlab(24.08, -25.85, 25.59)
CIE-LCHlch(24.08, 36.38, 135.28°)
OKLaboklab(33.69% -0.0708 0.0586)
OKLCHoklch(33.69% 0.092 140.4)
XYZxyz(2.4110, 4.1249, 1.1210)
Luminance0.0413 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18420F #390F42
analogous
#31420F #18420F #0F421F
triadic
#18420F #0F1842 #420F18
tetradic
#18420F #0F3142 #390F42 #421F0F
square
#18420F #0F3142 #390F42 #421F0F
split-complementary
#18420F #1F0F42 #420F31
monochromatic
#091906 #091906 #18420F #2A741A #3CA626

Accessibility & contrast

On white

11.51
#18420F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#18420F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18420F
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18420F#FFFFFF#000000##FFFFFF
##18420F1.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B08
Deuteranopia (green-blind)
#3F3814
Tritanopia (blue-blind)
#134038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18420f;
/* rgb */ color: rgb(24, 66, 15);
/* oklch */ color: oklch(33.7% 0.092 140.4);
Tailwind
colors: {
  custom: {
    50: '#5b7750',
    500: '#18420f',
    950: '#000000',
  },
}
SCSS
$custom: #18420f;
$custom-light: #5b7750;
$custom-dark: #000000;
JSON
{
  "hex": "#18420f",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 15
  },
  "hsl": {
    "h": 109.412,
    "s": 62.963,
    "l": 15.882
  },
  "oklch": {
    "l": 0.33692,
    "c": 0.09191,
    "h": 140.4
  },
  "luminance": 0.04125
}

Semantic roles & 50–950 ramp

primary
#18420F
secondary
#6F307C
accent
#42E6C9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18420F

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

Preview Lab → · Contrast checker → · Palette generator →

#18420F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva