#18420D#18420D

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

Color values

HEX#18420D
RGBrgb(24, 66, 13)
HSLhsl(108, 67%, 15%)
HSVhsv(108, 80%, 26%)
CMYKcmyk(63.6%, 0%, 80.3%, 74.1%)
CIE-LABlab(24.06, -26.05, 26.51)
CIE-LCHlch(24.06, 37.17, 134.50°)
OKLaboklab(33.67% -0.0715 0.0602)
OKLCHoklch(33.67% 0.093 139.9)
XYZxyz(2.3974, 4.1195, 1.0495)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18420D #370D42
analogous
#32420D #18420D #0D421C
triadic
#18420D #0D1842 #420D18
tetradic
#18420D #0D3242 #370D42 #421C0D
square
#18420D #0D3242 #370D42 #421C0D
split-complementary
#18420D #1C0D42 #420D32
monochromatic
#091A05 #091A05 #18420D #2B7517 #3DA821

Accessibility & contrast

On white

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

On black

1.82
#18420D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18420D#FFFFFF#000000##FFFFFF
##18420D1.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #18420d;
/* rgb */ color: rgb(24, 66, 13);
/* oklch */ color: oklch(33.7% 0.093 139.9);
Tailwind
colors: {
  custom: {
    50: '#5b774f',
    500: '#18420d',
    950: '#000000',
  },
}
SCSS
$custom: #18420d;
$custom-light: #5b774f;
$custom-dark: #000000;
JSON
{
  "hex": "#18420d",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 13
  },
  "hsl": {
    "h": 107.547,
    "s": 67.089,
    "l": 15.49
  },
  "oklch": {
    "l": 0.33672,
    "c": 0.09346,
    "h": 139.9
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#18420D
secondary
#6D2D7E
accent
#3EEAC6
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18420D

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

Preview Lab → · Contrast checker → · Palette generator →

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