#15812F#15812F

#15812F is a mid, vivid green. Relative luminance 0.161; OKLCH L 52.8% C 0.151 H 146.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#15812F
RGBrgb(21, 129, 47)
HSLhsl(134, 72%, 29%)
HSVhsv(134, 84%, 51%)
CMYKcmyk(83.7%, 0%, 63.6%, 49.4%)
CIE-LABlab(47.06, -46.71, 35.55)
CIE-LCHlch(47.06, 58.70, 142.73°)
OKLaboklab(52.82% -0.1257 0.0835)
OKLCHoklch(52.82% 0.151 146.4)
XYZxyz(8.6719, 16.0641, 5.3324)
Luminance0.1606 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15812F #811567
analogous
#318115 #15812F #158165
triadic
#15812F #2F1581 #812F15
tetradic
#15812F #153181 #811567 #816515
square
#15812F #153181 #811567 #816515
split-complementary
#15812F #651581 #811531
monochromatic
#041A0A #0C4C1C #15812F #1EB642 #33DE5C

Accessibility & contrast

On white

4.98
#15812F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #15812F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15812F#FFFFFF#000000##FFFFFF
##15812F1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15812f;
/* rgb */ color: rgb(21, 129, 47);
/* oklch */ color: oklch(52.8% 0.151 146.4);
Tailwind
colors: {
  custom: {
    50: '#68a76b',
    500: '#15812f',
    950: '#000000',
  },
}
SCSS
$custom: #15812f;
$custom-light: #68a76b;
$custom-dark: #000000;
JSON
{
  "hex": "#15812f",
  "rgb": {
    "r": 21,
    "g": 129,
    "b": 47
  },
  "hsl": {
    "h": 134.444,
    "s": 72,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52816,
    "c": 0.15085,
    "h": 146.4
  },
  "luminance": 0.16065
}

Semantic roles & 50–950 ramp

primary
#15812F
secondary
#B63C98
accent
#39C3EF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F07
muted
#7A7F7A

Preview Lab

Preview with #15812F

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

Preview Lab → · Contrast checker → · Palette generator →

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