#18881D#18881D

#18881D is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.7% C 0.171 H 143.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#18881D
RGBrgb(24, 136, 29)
HSLhsl(123, 70%, 31%)
HSVhsv(123, 82%, 53%)
CMYKcmyk(82.4%, 0%, 78.7%, 46.7%)
CIE-LABlab(49.36, -50.49, 45.55)
CIE-LCHlch(49.36, 68.00, 137.95°)
OKLaboklab(54.7% -0.1368 0.1023)
OKLCHoklch(54.7% 0.171 143.2)
XYZxyz(9.4020, 17.8901, 4.1198)
Luminance0.1789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18881D #881883
analogous
#4B8818 #18881D #188855
triadic
#18881D #1D1888 #881D18
tetradic
#18881D #184B88 #881883 #885518
square
#18881D #184B88 #881883 #885518
split-complementary
#18881D #551888 #88184B
monochromatic
#062007 #0F5412 #18881D #21BC28 #3EDD45

Accessibility & contrast

On white

4.59
#18881D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#18881D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #18881D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18881D#FFFFFF#000000##FFFFFF
##18881D1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A03
Deuteranopia (green-blind)
#7F7229
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #18881d;
/* rgb */ color: rgb(24, 136, 29);
/* oklch */ color: oklch(54.7% 0.171 143.2);
Tailwind
colors: {
  custom: {
    50: '#6cac61',
    500: '#18881d',
    950: '#000000',
  },
}
SCSS
$custom: #18881d;
$custom-light: #6cac61;
$custom-dark: #000000;
JSON
{
  "hex": "#18881d",
  "rgb": {
    "r": 24,
    "g": 136,
    "b": 29
  },
  "hsl": {
    "h": 122.679,
    "s": 70,
    "l": 31.373
  },
  "oklch": {
    "l": 0.54697,
    "c": 0.17084,
    "h": 143.2
  },
  "luminance": 0.17891
}

Semantic roles & 50–950 ramp

primary
#18881D
secondary
#BC40B6
accent
#3BE5ED
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18881D

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

Preview Lab → · Contrast checker → · Palette generator →

#18881D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva