#18851B#18851B

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

Color values

HEX#18851B
RGBrgb(24, 133, 27)
HSLhsl(122, 69%, 31%)
HSVhsv(122, 82%, 52%)
CMYKcmyk(82%, 0%, 79.7%, 47.8%)
CIE-LABlab(48.32, -49.67, 45.22)
CIE-LCHlch(48.32, 67.17, 137.68°)
OKLaboklab(53.83% -0.1347 0.1013)
OKLCHoklch(53.83% 0.169 143)
XYZxyz(8.9615, 17.0473, 3.8549)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18851B #851882
analogous
#4B8518 #18851B #188551
triadic
#18851B #1B1885 #851B18
tetradic
#18851B #184B85 #851882 #855118
square
#18851B #184B85 #851882 #855118
split-complementary
#18851B #511885 #85184B
monochromatic
#051D06 #0F5110 #18851B #21B926 #3CDC40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18851B#FFFFFF#000000##FFFFFF
##18851B1.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)
#887801
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18851b;
/* rgb */ color: rgb(24, 133, 27);
/* oklch */ color: oklch(53.8% 0.169 143.0);
Tailwind
colors: {
  custom: {
    50: '#6baa60',
    500: '#18851b',
    950: '#000000',
  },
}
SCSS
$custom: #18851b;
$custom-light: #6baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#18851b",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 27
  },
  "hsl": {
    "h": 121.651,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53825,
    "c": 0.16854,
    "h": 143
  },
  "luminance": 0.17048
}

Semantic roles & 50–950 ramp

primary
#18851B
secondary
#B940B6
accent
#3CE7EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18851B

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

Preview Lab → · Contrast checker → · Palette generator →

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