#18481E#18481E

#18481E is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.8% C 0.087 H 145.7°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#18481E
RGBrgb(24, 72, 30)
HSLhsl(128, 50%, 19%)
HSVhsv(128, 67%, 28%)
CMYKcmyk(66.7%, 0%, 58.3%, 71.8%)
CIE-LABlab(26.51, -26.50, 20.32)
CIE-LCHlch(26.51, 33.39, 142.52°)
OKLaboklab(35.76% -0.0717 0.0488)
OKLCHoklch(35.76% 0.087 145.7)
XYZxyz(2.9282, 4.9224, 2.0238)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18481E #481842
analogous
#2A4818 #18481E #184836
triadic
#18481E #1E1848 #481E18
tetradic
#18481E #182A48 #481842 #483618
square
#18481E #182A48 #481842 #483618
split-complementary
#18481E #361848 #48182A
monochromatic
#08170A #091A0B #18481E #277631 #37A444

Accessibility & contrast

On white

10.58
#18481E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#18481E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18481E
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18481E#FFFFFF#000000##FFFFFF
##18481E1.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411A
Deuteranopia (green-blind)
#433D21
Tritanopia (blue-blind)
#0D463E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18481e;
/* rgb */ color: rgb(24, 72, 30);
/* oklch */ color: oklch(35.8% 0.087 145.7);
Tailwind
colors: {
  custom: {
    50: '#5b7b5b',
    500: '#18481e',
    950: '#000000',
  },
}
SCSS
$custom: #18481e;
$custom-light: #5b7b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#18481e",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 30
  },
  "hsl": {
    "h": 127.5,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35756,
    "c": 0.08678,
    "h": 145.7
  },
  "luminance": 0.04923
}

Semantic roles & 50–950 ramp

primary
#18481E
secondary
#7F3D77
accent
#4EC8DA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #18481E

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

Preview Lab → · Contrast checker → · Palette generator →

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