#18481F#18481F

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

Color values

HEX#18481F
RGBrgb(24, 72, 31)
HSLhsl(129, 50%, 19%)
HSVhsv(129, 67%, 28%)
CMYKcmyk(66.7%, 0%, 56.9%, 71.8%)
CIE-LABlab(26.53, -26.33, 19.75)
CIE-LCHlch(26.53, 32.92, 143.12°)
OKLaboklab(35.77% -0.0712 0.0477)
OKLCHoklch(35.77% 0.086 146.2)
XYZxyz(2.9412, 4.9276, 2.0922)
Luminance0.0493 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18481F #481841
analogous
#294818 #18481F #184837
triadic
#18481F #1F1848 #481F18
tetradic
#18481F #182948 #481841 #483718
square
#18481F #182948 #481841 #483718
split-complementary
#18481F #371848 #481829
monochromatic
#08170A #091A0B #18481F #277633 #37A447

Accessibility & contrast

On white

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

On black

1.99
#18481F on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18481F#FFFFFF#000000##FFFFFF
##18481F1.0010.581.9910.58
#FFFFFF10.581.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49411B
Deuteranopia (green-blind)
#433D22
Tritanopia (blue-blind)
#0D463F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #18481f;
/* rgb */ color: rgb(24, 72, 31);
/* oklch */ color: oklch(35.8% 0.086 146.2);
Tailwind
colors: {
  custom: {
    50: '#5b7b5b',
    500: '#18481f',
    950: '#000000',
  },
}
SCSS
$custom: #18481f;
$custom-light: #5b7b5b;
$custom-dark: #000000;
JSON
{
  "hex": "#18481f",
  "rgb": {
    "r": 24,
    "g": 72,
    "b": 31
  },
  "hsl": {
    "h": 128.75,
    "s": 50,
    "l": 18.824
  },
  "oklch": {
    "l": 0.35773,
    "c": 0.08571,
    "h": 146.2
  },
  "luminance": 0.04928
}

Semantic roles & 50–950 ramp

primary
#18481F
secondary
#7F3D75
accent
#4EC5DA
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040904
muted
#797B79

Preview Lab

Preview with #18481F

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

Preview Lab → · Contrast checker → · Palette generator →

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