#18420B#18420B

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

Color values

HEX#18420B
RGBrgb(24, 66, 11)
HSLhsl(106, 71%, 15%)
HSVhsv(106, 83%, 26%)
CMYKcmyk(63.6%, 0%, 83.3%, 74.1%)
CIE-LABlab(24.05, -26.23, 27.37)
CIE-LCHlch(24.05, 37.91, 133.78°)
OKLaboklab(33.65% -0.0721 0.0617)
OKLCHoklch(33.65% 0.095 139.5)
XYZxyz(2.3852, 4.1146, 0.9850)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18420B #350B42
analogous
#34420B #18420B #0B4219
triadic
#18420B #0B1842 #420B18
tetradic
#18420B #0B3442 #350B42 #42190B
square
#18420B #0B3442 #350B42 #42190B
split-complementary
#18420B #190B42 #420B34
monochromatic
#0A1A04 #0A1A04 #18420B #2B7614 #3EAB1C

Accessibility & contrast

On white

11.52
#18420B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18420B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18420B#FFFFFF#000000##FFFFFF
##18420B1.0011.521.8211.52
#FFFFFF11.521.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443B03
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#134037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18420b;
/* rgb */ color: rgb(24, 66, 11);
/* oklch */ color: oklch(33.7% 0.095 139.5);
Tailwind
colors: {
  custom: {
    50: '#5b774e',
    500: '#18420b',
    950: '#000000',
  },
}
SCSS
$custom: #18420b;
$custom-light: #5b774e;
$custom-dark: #000000;
JSON
{
  "hex": "#18420b",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 11
  },
  "hsl": {
    "h": 105.818,
    "s": 71.429,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33654,
    "c": 0.09491,
    "h": 139.5
  },
  "luminance": 0.04115
}

Semantic roles & 50–950 ramp

primary
#18420B
secondary
#6B2A7F
accent
#3AEEC3
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18420B

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

Preview Lab → · Contrast checker → · Palette generator →

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