#18851E#18851E

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

Color values

HEX#18851E
RGBrgb(24, 133, 30)
HSLhsl(123, 69%, 31%)
HSVhsv(123, 82%, 52%)
CMYKcmyk(82%, 0%, 77.4%, 47.8%)
CIE-LABlab(48.34, -49.44, 44.18)
CIE-LCHlch(48.34, 66.30, 138.21°)
OKLaboklab(53.85% -0.1339 0.0996)
OKLCHoklch(53.85% 0.167 143.4)
XYZxyz(8.9980, 17.0619, 4.0471)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18851E #85187F
analogous
#488518 #18851E #188554
triadic
#18851E #1E1885 #851E18
tetradic
#18851E #184885 #85187F #855418
square
#18851E #184885 #85187F #855418
split-complementary
#18851E #541885 #851848
monochromatic
#051D07 #0F5112 #18851E #21B92A #3CDC44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18851E#FFFFFF#000000##FFFFFF
##18851E1.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)
#887808
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18851e;
/* rgb */ color: rgb(24, 133, 30);
/* oklch */ color: oklch(53.8% 0.167 143.4);
Tailwind
colors: {
  custom: {
    50: '#6baa62',
    500: '#18851e',
    950: '#000000',
  },
}
SCSS
$custom: #18851e;
$custom-light: #6baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#18851e",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 30
  },
  "hsl": {
    "h": 123.303,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53846,
    "c": 0.16689,
    "h": 143.4
  },
  "luminance": 0.17063
}

Semantic roles & 50–950 ramp

primary
#18851E
secondary
#B940B2
accent
#3CE3EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18851E

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

Preview Lab → · Contrast checker → · Palette generator →

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