#18402A#18402A

#18402A is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.6% C 0.060 H 156.8°. Best body text is #FFFFFF at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#18402A
RGBrgb(24, 64, 42)
HSLhsl(147, 45%, 17%)
HSVhsv(147, 63%, 25%)
CMYKcmyk(62.5%, 0%, 34.4%, 74.9%)
CIE-LABlab(23.76, -20.20, 9.32)
CIE-LCHlch(23.76, 22.25, 155.23°)
OKLaboklab(33.57% -0.0552 0.0236)
OKLCHoklch(33.57% 0.06 156.8)
XYZxyz(2.6278, 4.0279, 2.8290)
Luminance0.0403 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18402A #40182E
analogous
#1A4018 #18402A #18403E
triadic
#18402A #2A1840 #402A18
tetradic
#18402A #181A40 #40182E #403E18
square
#18402A #181A40 #40182E #403E18
split-complementary
#18402A #3E1840 #40181A
monochromatic
#08160F #08160F #18402A #296D47 #399964

Accessibility & contrast

On white

11.63
#18402A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#18402A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18402A
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18402A#FFFFFF#000000##FFFFFF
##18402A1.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403B29
Deuteranopia (green-blind)
#3A372B
Tritanopia (blue-blind)
#0B3F3A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #18402a;
/* rgb */ color: rgb(24, 64, 42);
/* oklch */ color: oklch(33.6% 0.060 156.8);
Tailwind
colors: {
  custom: {
    50: '#597563',
    500: '#18402a',
    950: '#000000',
  },
}
SCSS
$custom: #18402a;
$custom-light: #597563;
$custom-dark: #000000;
JSON
{
  "hex": "#18402a",
  "rgb": {
    "r": 24,
    "g": 64,
    "b": 42
  },
  "hsl": {
    "h": 147,
    "s": 45.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.33574,
    "c": 0.06001,
    "h": 156.8
  },
  "luminance": 0.04028
}

Semantic roles & 50–950 ramp

primary
#18402A
secondary
#773D5D
accent
#539AD5
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#040805
muted
#797B79

Preview Lab

Preview with #18402A

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

Preview Lab → · Contrast checker → · Palette generator →

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