#15802B#15802B

#15802B is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.5% C 0.153 H 145.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#15802B
RGBrgb(21, 128, 43)
HSLhsl(132, 72%, 29%)
HSVhsv(132, 84%, 50%)
CMYKcmyk(83.6%, 0%, 66.4%, 49.8%)
CIE-LABlab(46.67, -46.86, 37.00)
CIE-LCHlch(46.67, 59.71, 141.71°)
OKLaboklab(52.48% -0.1262 0.0861)
OKLCHoklch(52.48% 0.153 145.7)
XYZxyz(8.4639, 15.7712, 4.8831)
Luminance0.1577 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15802B #80156A
analogous
#358015 #15802B #158061
triadic
#15802B #2B1580 #802B15
tetradic
#15802B #153580 #80156A #806115
square
#15802B #153580 #80156A #806115
split-complementary
#15802B #611580 #801535
monochromatic
#041A09 #0C4B19 #15802B #1EB53D #32DD55

Accessibility & contrast

On white

5.05
#15802B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#15802B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15802B
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15802B#FFFFFF#000000##FFFFFF
##15802B1.005.054.155.05
#FFFFFF5.051.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827321
Deuteranopia (green-blind)
#776B33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #15802b;
/* rgb */ color: rgb(21, 128, 43);
/* oklch */ color: oklch(52.5% 0.153 145.7);
Tailwind
colors: {
  custom: {
    50: '#68a668',
    500: '#15802b',
    950: '#000000',
  },
}
SCSS
$custom: #15802b;
$custom-light: #68a668;
$custom-dark: #000000;
JSON
{
  "hex": "#15802b",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 132.336,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52482,
    "c": 0.15281,
    "h": 145.7
  },
  "luminance": 0.15772
}

Semantic roles & 50–950 ramp

primary
#15802B
secondary
#B53C9C
accent
#39C9EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #15802B

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

Preview Lab → · Contrast checker → · Palette generator →

#15802B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva