#18481B#18481B

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

Color values

HEX#18481B
RGBrgb(24, 72, 27)
HSLhsl(124, 50%, 19%)
HSVhsv(124, 67%, 28%)
CMYKcmyk(66.7%, 0%, 62.5%, 71.8%)
CIE-LABlab(26.47, -26.97, 21.98)
CIE-LCHlch(26.47, 34.79, 140.82°)
OKLaboklab(35.71% -0.0731 0.0523)
OKLCHoklch(35.71% 0.09 144.4)
XYZxyz(2.8917, 4.9078, 1.8316)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18481B #481845
analogous
#2D4818 #18481B #184833
triadic
#18481B #1B1848 #481B18
tetradic
#18481B #182D48 #481845 #483318
square
#18481B #182D48 #481845 #483318
split-complementary
#18481B #331848 #48182D
monochromatic
#081709 #091A0A #18481B #27762C #37A43D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18481B#FFFFFF#000000##FFFFFF
##18481B1.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)
#494117
Deuteranopia (green-blind)
#433D1E
Tritanopia (blue-blind)
#0E463E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18481b;
/* rgb */ color: rgb(24, 72, 27);
/* oklch */ color: oklch(35.7% 0.090 144.4);
Tailwind
colors: {
  custom: {
    50: '#5b7b59',
    500: '#18481b',
    950: '#000000',
  },
}
SCSS
$custom: #18481b;
$custom-light: #5b7b59;
$custom-dark: #000000;
JSON
{
  "hex": "#18481b",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 123.75,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35707,
    "c": 0.08988,
    "h": 144.4
  },
  "luminance": 0.04908
}

Semantic roles & 50–950 ramp

primary
#18481B
secondary
#7F3D7B
accent
#4ED1DA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #18481B

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

Preview Lab → · Contrast checker → · Palette generator →

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