#15812D#15812D

#15812D is a mid, vivid green. Relative luminance 0.160; OKLCH L 52.8% C 0.152 H 146.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#15812D
RGBrgb(21, 129, 45)
HSLhsl(133, 72%, 29%)
HSVhsv(133, 84%, 51%)
CMYKcmyk(83.7%, 0%, 65.1%, 49.4%)
CIE-LABlab(47.04, -46.96, 36.48)
CIE-LCHlch(47.04, 59.46, 142.16°)
OKLaboklab(52.79% -0.1264 0.0852)
OKLCHoklch(52.79% 0.152 146)
XYZxyz(8.6325, 16.0483, 5.1248)
Luminance0.1605 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15812D #811569
analogous
#338115 #15812D #158163
triadic
#15812D #2D1581 #812D15
tetradic
#15812D #153381 #811569 #816315
square
#15812D #153381 #811569 #816315
split-complementary
#15812D #631581 #811533
monochromatic
#041A09 #0C4C1B #15812D #1EB63F #33DE59

Accessibility & contrast

On white

4.99
#15812D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#15812D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15812D
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15812D#FFFFFF#000000##FFFFFF
##15812D1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837423
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #15812d;
/* rgb */ color: rgb(21, 129, 45);
/* oklch */ color: oklch(52.8% 0.152 146.0);
Tailwind
colors: {
  custom: {
    50: '#68a769',
    500: '#15812d',
    950: '#000000',
  },
}
SCSS
$custom: #15812d;
$custom-light: #68a769;
$custom-dark: #000000;
JSON
{
  "hex": "#15812d",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 45
  },
  "hsl": {
    "h": 133.333,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52792,
    "c": 0.15247,
    "h": 146
  },
  "luminance": 0.16049
}

Semantic roles & 50–950 ramp

primary
#15812D
secondary
#B63C9B
accent
#39C6EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #15812D

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

Preview Lab → · Contrast checker → · Palette generator →

#15812D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva