#18851F#18851F

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

Color values

HEX#18851F
RGBrgb(24, 133, 31)
HSLhsl(124, 69%, 31%)
HSVhsv(124, 82%, 52%)
CMYKcmyk(82%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.34, -49.36, 43.82)
CIE-LCHlch(48.34, 66.00, 138.40°)
OKLaboklab(53.85% -0.1336 0.099)
OKLCHoklch(53.85% 0.166 143.5)
XYZxyz(9.0109, 17.0671, 4.1154)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18851F #85187E
analogous
#478518 #18851F #188555
triadic
#18851F #1F1885 #851F18
tetradic
#18851F #184785 #85187E #855518
square
#18851F #184785 #85187E #855518
split-complementary
#18851F #551885 #851847
monochromatic
#051D07 #0F5113 #18851F #21B92B #3CDC46

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #18851f;
/* rgb */ color: rgb(24, 133, 31);
/* oklch */ color: oklch(53.9% 0.166 143.5);
Tailwind
colors: {
  custom: {
    50: '#6baa62',
    500: '#18851f',
    950: '#000000',
  },
}
SCSS
$custom: #18851f;
$custom-light: #6baa62;
$custom-dark: #000000;
JSON
{
  "hex": "#18851f",
  "rgb": {
    "r": 24,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 123.853,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.53854,
    "c": 0.16631,
    "h": 143.5
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#18851F
secondary
#B940B1
accent
#3CE1EC
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #18851F

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

Preview Lab → · Contrast checker → · Palette generator →

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