#15821F#15821F

#15821F is a mid, vivid green. Relative luminance 0.162; OKLCH L 52.9% C 0.164 H 143.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#15821F
RGBrgb(21, 130, 31)
HSLhsl(126, 72%, 30%)
HSVhsv(126, 84%, 51%)
CMYKcmyk(83.8%, 0%, 76.2%, 49%)
CIE-LABlab(47.27, -48.76, 42.72)
CIE-LCHlch(47.27, 64.83, 138.78°)
OKLaboklab(52.94% -0.1319 0.0967)
OKLCHoklch(52.94% 0.164 143.8)
XYZxyz(8.5386, 16.2226, 3.9773)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15821F #821578
analogous
#418215 #15821F #158256
triadic
#15821F #1F1582 #821F15
tetradic
#15821F #154182 #821578 #825615
square
#15821F #154182 #821578 #825615
split-complementary
#15821F #561582 #821541
monochromatic
#041A06 #0C4D12 #15821F #1EB72C #33DE43

Accessibility & contrast

On white

4.95
#15821F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#15821F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15821F
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15821F#FFFFFF#000000##FFFFFF
##15821F1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750C
Deuteranopia (green-blind)
#796D2A
Tritanopia (blue-blind)
#007E6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #15821f;
/* rgb */ color: rgb(21, 130, 31);
/* oklch */ color: oklch(52.9% 0.164 143.8);
Tailwind
colors: {
  custom: {
    50: '#69a762',
    500: '#15821f',
    950: '#000000',
  },
}
SCSS
$custom: #15821f;
$custom-light: #69a762;
$custom-dark: #000000;
JSON
{
  "hex": "#15821f",
  "rgb": {
    "r": 21,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 125.505,
    "s": 72.185,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52943,
    "c": 0.16354,
    "h": 143.8
  },
  "luminance": 0.16224
}

Semantic roles & 50–950 ramp

primary
#15821F
secondary
#B73CAB
accent
#39DEEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #15821F

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

Preview Lab → · Contrast checker → · Palette generator →

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