#18851A#18851A

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

Color values

HEX#18851A
RGBrgb(24, 133, 26)
HSLhsl(121, 69%, 31%)
HSVhsv(121, 82%, 52%)
CMYKcmyk(82%, 0%, 80.5%, 47.8%)
CIE-LABlab(48.31, -49.74, 45.56)
CIE-LCHlch(48.31, 67.45, 137.51°)
OKLaboklab(53.82% -0.1349 0.1019)
OKLCHoklch(53.82% 0.169 142.9)
XYZxyz(8.9501, 17.0427, 3.7950)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18851A #851883
analogous
#4C8518 #18851A #188550
triadic
#18851A #1A1885 #851A18
tetradic
#18851A #184C85 #851883 #855018
square
#18851A #184C85 #851883 #855018
split-complementary
#18851A #501885 #85184C
monochromatic
#051D06 #0F5110 #18851A #21B924 #3CDC3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #18851a;
/* rgb */ color: rgb(24, 133, 26);
/* oklch */ color: oklch(53.8% 0.169 142.9);
Tailwind
colors: {
  custom: {
    50: '#6baa60',
    500: '#18851a',
    950: '#000000',
  },
}
SCSS
$custom: #18851a;
$custom-light: #6baa60;
$custom-dark: #000000;
JSON
{
  "hex": "#18851a",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 26
  },
  "hsl": {
    "h": 121.101,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.16906,
    "h": 142.9
  },
  "luminance": 0.17044
}

Semantic roles & 50–950 ramp

primary
#18851A
secondary
#B940B7
accent
#3CE9EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18851A

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

Preview Lab → · Contrast checker → · Palette generator →

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