#18420A#18420A

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

Color values

HEX#18420A
RGBrgb(24, 66, 10)
HSLhsl(105, 74%, 15%)
HSVhsv(105, 85%, 26%)
CMYKcmyk(63.6%, 0%, 84.8%, 74.1%)
CIE-LABlab(24.04, -26.31, 27.78)
CIE-LCHlch(24.04, 38.26, 133.45°)
OKLaboklab(33.65% -0.0724 0.0624)
OKLCHoklch(33.65% 0.096 139.3)
XYZxyz(2.3796, 4.1123, 0.9555)
Luminance0.0411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18420A #340A42
analogous
#34420A #18420A #0A4218
triadic
#18420A #0A1842 #420A18
tetradic
#18420A #0A3442 #340A42 #42180A
square
#18420A #0A3442 #340A42 #42180A
split-complementary
#18420A #180A42 #420A34
monochromatic
#0A1B04 #0A1B04 #18420A #2B7712 #3FAC1A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18420A#FFFFFF#000000##FFFFFF
##18420A1.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)
#443B02
Deuteranopia (green-blind)
#3F3810
Tritanopia (blue-blind)
#133F37
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18420a;
/* rgb */ color: rgb(24, 66, 10);
/* oklch */ color: oklch(33.6% 0.096 139.3);
Tailwind
colors: {
  custom: {
    50: '#5b774e',
    500: '#18420a',
    950: '#000000',
  },
}
SCSS
$custom: #18420a;
$custom-light: #5b774e;
$custom-dark: #000000;
JSON
{
  "hex": "#18420a",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 10
  },
  "hsl": {
    "h": 105,
    "s": 73.684,
    "l": 14.902
  },
  "oklch": {
    "l": 0.33646,
    "c": 0.09558,
    "h": 139.3
  },
  "luminance": 0.04113
}

Semantic roles & 50–950 ramp

primary
#18420A
secondary
#6A297F
accent
#37F0C2
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18420A

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

Preview Lab → · Contrast checker → · Palette generator →

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