#15802F#15802F

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

Color values

HEX#15802F
RGBrgb(21, 128, 47)
HSLhsl(135, 72%, 29%)
HSVhsv(135, 84%, 50%)
CMYKcmyk(83.6%, 0%, 63.3%, 49.8%)
CIE-LABlab(46.71, -46.36, 35.15)
CIE-LCHlch(46.71, 58.18, 142.83°)
OKLaboklab(52.53% -0.1247 0.0826)
OKLCHoklch(52.53% 0.15 146.5)
XYZxyz(8.5409, 15.8020, 5.2887)
Luminance0.1580 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15802F #801566
analogous
#318015 #15802F #158065
triadic
#15802F #2F1580 #802F15
tetradic
#15802F #153180 #801566 #806515
square
#15802F #153180 #801566 #806515
split-complementary
#15802F #651580 #801531
monochromatic
#041A0A #0C4B1C #15802F #1EB542 #32DD5C

Accessibility & contrast

On white

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

On black

4.16
#15802F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##15802F#FFFFFF#000000##FFFFFF
##15802F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827426
Deuteranopia (green-blind)
#766C36
Tritanopia (blue-blind)
#007D6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #15802f;
/* rgb */ color: rgb(21, 128, 47);
/* oklch */ color: oklch(52.5% 0.150 146.5);
Tailwind
colors: {
  custom: {
    50: '#68a66b',
    500: '#15802f',
    950: '#000000',
  },
}
SCSS
$custom: #15802f;
$custom-light: #68a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#15802f",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 134.579,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52529,
    "c": 0.14959,
    "h": 146.5
  },
  "luminance": 0.15803
}

Semantic roles & 50–950 ramp

primary
#15802F
secondary
#B53C98
accent
#39C2EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #15802F

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

Preview Lab → · Contrast checker → · Palette generator →

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