#18420C#18420C

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

Color values

HEX#18420C
RGBrgb(24, 66, 12)
HSLhsl(107, 69%, 15%)
HSVhsv(107, 82%, 26%)
CMYKcmyk(63.6%, 0%, 81.8%, 74.1%)
CIE-LABlab(24.05, -26.14, 26.95)
CIE-LCHlch(24.05, 37.54, 134.13°)
OKLaboklab(33.66% -0.0718 0.061)
OKLCHoklch(33.66% 0.094 139.7)
XYZxyz(2.3912, 4.1170, 1.0164)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18420C #360C42
analogous
#33420C #18420C #0C421B
triadic
#18420C #0C1842 #420C18
tetradic
#18420C #0C3342 #360C42 #421B0C
square
#18420C #0C3342 #360C42 #421B0C
split-complementary
#18420C #1B0C42 #420C33
monochromatic
#091A05 #091A05 #18420C #2B7615 #3EAA1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18420C#FFFFFF#000000##FFFFFF
##18420C1.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)
#443B04
Deuteranopia (green-blind)
#3F3811
Tritanopia (blue-blind)
#134037
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18420c;
/* rgb */ color: rgb(24, 66, 12);
/* oklch */ color: oklch(33.7% 0.094 139.7);
Tailwind
colors: {
  custom: {
    50: '#5b774f',
    500: '#18420c',
    950: '#000000',
  },
}
SCSS
$custom: #18420c;
$custom-light: #5b774f;
$custom-dark: #000000;
JSON
{
  "hex": "#18420c",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 12
  },
  "hsl": {
    "h": 106.667,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33663,
    "c": 0.0942,
    "h": 139.7
  },
  "luminance": 0.04117
}

Semantic roles & 50–950 ramp

primary
#18420C
secondary
#6C2C7E
accent
#3CECC5
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18420C

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

Preview Lab → · Contrast checker → · Palette generator →

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