#18481C#18481C

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

Color values

HEX#18481C
RGBrgb(24, 72, 28)
HSLhsl(125, 50%, 19%)
HSVhsv(125, 67%, 28%)
CMYKcmyk(66.7%, 0%, 61.1%, 71.8%)
CIE-LABlab(26.48, -26.82, 21.43)
CIE-LCHlch(26.48, 34.33, 141.37°)
OKLaboklab(35.72% -0.0727 0.0511)
OKLCHoklch(35.72% 0.089 144.9)
XYZxyz(2.9035, 4.9125, 1.8936)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18481C #481844
analogous
#2C4818 #18481C #184834
triadic
#18481C #1C1848 #481C18
tetradic
#18481C #182C48 #481844 #483418
square
#18481C #182C48 #481844 #483418
split-complementary
#18481C #341848 #48182C
monochromatic
#081709 #091A0A #18481C #27762E #37A440

Accessibility & contrast

On white

10.59
#18481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18481C
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18481C#FFFFFF#000000##FFFFFF
##18481C1.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494118
Deuteranopia (green-blind)
#433D1F
Tritanopia (blue-blind)
#0E463E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18481c;
/* rgb */ color: rgb(24, 72, 28);
/* oklch */ color: oklch(35.7% 0.089 144.9);
Tailwind
colors: {
  custom: {
    50: '#5b7b59',
    500: '#18481c',
    950: '#000000',
  },
}
SCSS
$custom: #18481c;
$custom-light: #5b7b59;
$custom-dark: #000000;
JSON
{
  "hex": "#18481c",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 125,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35723,
    "c": 0.08886,
    "h": 144.9
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#18481C
secondary
#7F3D79
accent
#4ECEDA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #18481C

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

Preview Lab → · Contrast checker → · Palette generator →

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