#18420E#18420E

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

Color values

HEX#18420E
RGBrgb(24, 66, 14)
HSLhsl(108, 65%, 16%)
HSVhsv(108, 79%, 26%)
CMYKcmyk(63.6%, 0%, 78.8%, 74.1%)
CIE-LABlab(24.07, -25.95, 26.06)
CIE-LCHlch(24.07, 36.78, 134.88°)
OKLaboklab(33.68% -0.0712 0.0594)
OKLCHoklch(33.68% 0.093 140.2)
XYZxyz(2.4041, 4.1221, 1.0843)
Luminance0.0412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18420E #380E42
analogous
#32420E #18420E #0E421E
triadic
#18420E #0E1842 #420E18
tetradic
#18420E #0E3242 #380E42 #421E0E
square
#18420E #0E3242 #380E42 #421E0E
split-complementary
#18420E #1E0E42 #420E32
monochromatic
#091905 #091905 #18420E #2A7419 #3DA723

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18420E#FFFFFF#000000##FFFFFF
##18420E1.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)
#443B06
Deuteranopia (green-blind)
#3F3813
Tritanopia (blue-blind)
#134038
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18420e;
/* rgb */ color: rgb(24, 66, 14);
/* oklch */ color: oklch(33.7% 0.093 140.2);
Tailwind
colors: {
  custom: {
    50: '#5b7750',
    500: '#18420e',
    950: '#000000',
  },
}
SCSS
$custom: #18420e;
$custom-light: #5b7750;
$custom-dark: #000000;
JSON
{
  "hex": "#18420e",
  "rgb": {
    "r": 24,
    "g": 66,
    "b": 14
  },
  "hsl": {
    "h": 108.462,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.33682,
    "c": 0.0927,
    "h": 140.2
  },
  "luminance": 0.04122
}

Semantic roles & 50–950 ramp

primary
#18420E
secondary
#6E2F7D
accent
#40E8C8
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#040802
muted
#797B78

Preview Lab

Preview with #18420E

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

Preview Lab → · Contrast checker → · Palette generator →

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