#18851D#18851D

#18851D is a mid, vivid green. Relative luminance 0.171; OKLCH L 53.8% C 0.167 H 143.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#18851D
RGBrgb(24, 133, 29)
HSLhsl(123, 69%, 31%)
HSVhsv(123, 82%, 52%)
CMYKcmyk(82%, 0%, 78.2%, 47.8%)
CIE-LABlab(48.33, -49.52, 44.54)
CIE-LCHlch(48.33, 66.60, 138.03°)
OKLaboklab(53.84% -0.1342 0.1002)
OKLCHoklch(53.84% 0.167 143.3)
XYZxyz(8.9854, 17.0569, 3.9809)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18851D #851880
analogous
#498518 #18851D #188553
triadic
#18851D #1D1885 #851D18
tetradic
#18851D #184985 #851880 #855318
square
#18851D #184985 #851880 #855318
split-complementary
#18851D #531885 #851849
monochromatic
#051D06 #0F5112 #18851D #21B928 #3CDC43

Accessibility & contrast

On white

4.76
#18851D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#18851D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18851D
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18851D#FFFFFF#000000##FFFFFF
##18851D1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887805
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18851d;
/* rgb */ color: rgb(24, 133, 29);
/* oklch */ color: oklch(53.8% 0.167 143.3);
Tailwind
colors: {
  custom: {
    50: '#6baa61',
    500: '#18851d',
    950: '#000000',
  },
}
SCSS
$custom: #18851d;
$custom-light: #6baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#18851d",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 29
  },
  "hsl": {
    "h": 122.752,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53839,
    "c": 0.16746,
    "h": 143.3
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#18851D
secondary
#B940B3
accent
#3CE4EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18851D

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

Preview Lab → · Contrast checker → · Palette generator →

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