#15802C#15802C

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

Color values

HEX#15802C
RGBrgb(21, 128, 44)
HSLhsl(133, 72%, 29%)
HSVhsv(133, 84%, 50%)
CMYKcmyk(83.6%, 0%, 65.6%, 49.8%)
CIE-LABlab(46.68, -46.74, 36.55)
CIE-LCHlch(46.68, 59.33, 141.98°)
OKLaboklab(52.49% -0.1258 0.0853)
OKLCHoklch(52.49% 0.152 145.9)
XYZxyz(8.4824, 15.7786, 4.9809)
Luminance0.1578 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15802C #801569
analogous
#348015 #15802C #158062
triadic
#15802C #2C1580 #802C15
tetradic
#15802C #153480 #801569 #806215
square
#15802C #153480 #801569 #806215
split-complementary
#15802C #621580 #801534
monochromatic
#041A09 #0C4B1A #15802C #1EB53E #32DD57

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15802C#FFFFFF#000000##FFFFFF
##15802C1.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)
#827422
Deuteranopia (green-blind)
#766B33
Tritanopia (blue-blind)
#007D6E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #15802c;
/* rgb */ color: rgb(21, 128, 44);
/* oklch */ color: oklch(52.5% 0.152 145.9);
Tailwind
colors: {
  custom: {
    50: '#68a669',
    500: '#15802c',
    950: '#000000',
  },
}
SCSS
$custom: #15802c;
$custom-light: #68a669;
$custom-dark: #000000;
JSON
{
  "hex": "#15802c",
  "rgb": {
    "r": 21,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 132.897,
    "s": 71.812,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52494,
    "c": 0.15202,
    "h": 145.9
  },
  "luminance": 0.1578
}

Semantic roles & 50–950 ramp

primary
#15802C
secondary
#B53C9B
accent
#39C8EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #15802C

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

Preview Lab → · Contrast checker → · Palette generator →

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