#15811F#15811F

#15811F is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.7% C 0.162 H 143.8°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#15811F
RGBrgb(21, 129, 31)
HSLhsl(126, 72%, 29%)
HSVhsv(126, 84%, 51%)
CMYKcmyk(83.7%, 0%, 76%, 49.4%)
CIE-LABlab(46.92, -48.43, 42.37)
CIE-LCHlch(46.92, 64.35, 138.82°)
OKLaboklab(52.65% -0.131 0.096)
OKLCHoklch(52.65% 0.162 143.8)
XYZxyz(8.4063, 15.9578, 3.9332)
Luminance0.1596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15811F #811577
analogous
#418115 #15811F #158155
triadic
#15811F #1F1581 #811F15
tetradic
#15811F #154181 #811577 #815515
square
#15811F #154181 #811577 #815515
split-complementary
#15811F #551581 #811541
monochromatic
#041A06 #0C4C12 #15811F #1EB62C #33DE43

Accessibility & contrast

On white

5.01
#15811F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#15811F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15811F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15811F#FFFFFF#000000##FFFFFF
##15811F1.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#84740C
Deuteranopia (green-blind)
#786C29
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #15811f;
/* rgb */ color: rgb(21, 129, 31);
/* oklch */ color: oklch(52.7% 0.162 143.8);
Tailwind
colors: {
  custom: {
    50: '#69a761',
    500: '#15811f',
    950: '#000000',
  },
}
SCSS
$custom: #15811f;
$custom-light: #69a761;
$custom-dark: #000000;
JSON
{
  "hex": "#15811f",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 31
  },
  "hsl": {
    "h": 125.556,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52655,
    "c": 0.16239,
    "h": 143.8
  },
  "luminance": 0.15959
}

Semantic roles & 50–950 ramp

primary
#15811F
secondary
#B63CAB
accent
#39DEEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #15811F

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

Preview Lab → · Contrast checker → · Palette generator →

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