#15851F#15851F

#15851F is a mid, vivid green. Relative luminance 0.170; OKLCH L 53.8% C 0.167 H 143.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#15851F
RGBrgb(21, 133, 31)
HSLhsl(125, 73%, 30%)
HSVhsv(125, 84%, 52%)
CMYKcmyk(84.2%, 0%, 76.7%, 47.8%)
CIE-LABlab(48.30, -49.74, 43.76)
CIE-LCHlch(48.30, 66.25, 138.66°)
OKLaboklab(53.81% -0.1346 0.0989)
OKLCHoklch(53.81% 0.167 143.7)
XYZxyz(8.9435, 17.0323, 4.1123)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15851F #85157B
analogous
#438515 #15851F #158557
triadic
#15851F #1F1585 #851F15
tetradic
#15851F #154385 #85157B #855715
square
#15851F #154385 #85157B #855715
split-complementary
#15851F #571585 #851543
monochromatic
#041B06 #0D5013 #15851F #1DBA2B #35DF44

Accessibility & contrast

On white

4.77
#15851F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #15851F
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15851F#FFFFFF#000000##FFFFFF
##15851F1.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7C6F2A
Tritanopia (blue-blind)
#008171
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #15851f;
/* rgb */ color: rgb(21, 133, 31);
/* oklch */ color: oklch(53.8% 0.167 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aaa62',
    500: '#15851f',
    950: '#000000',
  },
}
SCSS
$custom: #15851f;
$custom-light: #6aaa62;
$custom-dark: #000000;
JSON
{
  "hex": "#15851f",
  "rgb": {
    "r": 21,
    "g": 133,
    "b": 31
  },
  "hsl": {
    "h": 125.357,
    "s": 72.727,
    "l": 30.196
  },
  "oklch": {
    "l": 0.53805,
    "c": 0.16698,
    "h": 143.7
  },
  "luminance": 0.17033
}

Semantic roles & 50–950 ramp

primary
#15851F
secondary
#B93CAE
accent
#38DFEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #15851F

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

Preview Lab → · Contrast checker → · Palette generator →

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