#15812A#15812A

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

Color values

HEX#15812A
RGBrgb(21, 129, 42)
HSLhsl(132, 72%, 29%)
HSVhsv(132, 84%, 51%)
CMYKcmyk(83.7%, 0%, 67.4%, 49.4%)
CIE-LABlab(47.01, -47.32, 37.83)
CIE-LCHlch(47.01, 60.58, 141.36°)
OKLaboklab(52.76% -0.1275 0.0878)
OKLCHoklch(52.76% 0.155 145.4)
XYZxyz(8.5768, 16.0261, 4.8313)
Luminance0.1603 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15812A #81156C
analogous
#368115 #15812A #158160
triadic
#15812A #2A1581 #812A15
tetradic
#15812A #153681 #81156C #816015
square
#15812A #153681 #81156C #816015
split-complementary
#15812A #601581 #811536
monochromatic
#041A09 #0C4C19 #15812A #1EB63B #33DE54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15812A#FFFFFF#000000##FFFFFF
##15812A1.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)
#83741F
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #15812a;
/* rgb */ color: rgb(21, 129, 42);
/* oklch */ color: oklch(52.8% 0.155 145.4);
Tailwind
colors: {
  custom: {
    50: '#68a768',
    500: '#15812a',
    950: '#000000',
  },
}
SCSS
$custom: #15812a;
$custom-light: #68a768;
$custom-dark: #000000;
JSON
{
  "hex": "#15812a",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 42
  },
  "hsl": {
    "h": 131.667,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52758,
    "c": 0.15481,
    "h": 145.4
  },
  "luminance": 0.16027
}

Semantic roles & 50–950 ramp

primary
#15812A
secondary
#B63C9E
accent
#39CBEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F06
muted
#7A7F7A

Preview Lab

Preview with #15812A

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

Preview Lab → · Contrast checker → · Palette generator →

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