#18481A#18481A

#18481A is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.091 H 144.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#18481A
RGBrgb(24, 72, 26)
HSLhsl(123, 50%, 19%)
HSVhsv(123, 67%, 28%)
CMYKcmyk(66.7%, 0%, 63.9%, 71.8%)
CIE-LABlab(26.46, -27.12, 22.52)
CIE-LCHlch(26.46, 35.25, 140.29°)
OKLaboklab(35.69% -0.0736 0.0534)
OKLCHoklch(35.69% 0.091 144.1)
XYZxyz(2.8803, 4.9032, 1.7717)
Luminance0.0490 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18481A #481846
analogous
#2E4818 #18481A #184832
triadic
#18481A #1A1848 #481A18
tetradic
#18481A #182E48 #481846 #483218
square
#18481A #182E48 #481846 #483218
split-complementary
#18481A #321848 #48182E
monochromatic
#081708 #091A09 #18481A #27762B #37A43B

Accessibility & contrast

On white

10.60
#18481A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18481A
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18481A#FFFFFF#000000##FFFFFF
##18481A1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494115
Deuteranopia (green-blind)
#433D1E
Tritanopia (blue-blind)
#0F463E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18481a;
/* rgb */ color: rgb(24, 72, 26);
/* oklch */ color: oklch(35.7% 0.091 144.1);
Tailwind
colors: {
  custom: {
    50: '#5b7b58',
    500: '#18481a',
    950: '#000000',
  },
}
SCSS
$custom: #18481a;
$custom-light: #5b7b58;
$custom-dark: #000000;
JSON
{
  "hex": "#18481a",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 26
  },
  "hsl": {
    "h": 122.5,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35692,
    "c": 0.09089,
    "h": 144.1
  },
  "luminance": 0.04904
}

Semantic roles & 50–950 ramp

primary
#18481A
secondary
#7F3D7C
accent
#4ED4DA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #18481A

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

Preview Lab → · Contrast checker → · Palette generator →

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