#18851C#18851C

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

Color values

HEX#18851C
RGBrgb(24, 133, 28)
HSLhsl(122, 69%, 31%)
HSVhsv(122, 82%, 52%)
CMYKcmyk(82%, 0%, 78.9%, 47.8%)
CIE-LABlab(48.33, -49.59, 44.88)
CIE-LCHlch(48.33, 66.89, 137.85°)
OKLaboklab(53.83% -0.1344 0.1008)
OKLCHoklch(53.83% 0.168 143.1)
XYZxyz(8.9732, 17.0520, 3.9168)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18851C #851881
analogous
#4A8518 #18851C #188552
triadic
#18851C #1C1885 #851C18
tetradic
#18851C #184A85 #851881 #855218
square
#18851C #184A85 #851881 #855218
split-complementary
#18851C #521885 #85184A
monochromatic
#051D06 #0F5111 #18851C #21B927 #3CDC42

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18851C#FFFFFF#000000##FFFFFF
##18851C1.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)
#887803
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #18851c;
/* rgb */ color: rgb(24, 133, 28);
/* oklch */ color: oklch(53.8% 0.168 143.1);
Tailwind
colors: {
  custom: {
    50: '#6baa61',
    500: '#18851c',
    950: '#000000',
  },
}
SCSS
$custom: #18851c;
$custom-light: #6baa61;
$custom-dark: #000000;
JSON
{
  "hex": "#18851c",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 28
  },
  "hsl": {
    "h": 122.202,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53832,
    "c": 0.16801,
    "h": 143.1
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#18851C
secondary
#B940B4
accent
#3CE6EC
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #18851C

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

Preview Lab → · Contrast checker → · Palette generator →

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