#15841F#15841F

#15841F is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.5% C 0.166 H 143.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#15841F
RGBrgb(21, 132, 31)
HSLhsl(125, 73%, 30%)
HSVhsv(125, 84%, 52%)
CMYKcmyk(84.1%, 0%, 76.5%, 48.2%)
CIE-LABlab(47.96, -49.41, 43.41)
CIE-LCHlch(47.96, 65.78, 138.70°)
OKLaboklab(53.52% -0.1337 0.0981)
OKLCHoklch(53.52% 0.166 143.7)
XYZxyz(8.8073, 16.7598, 4.0668)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15841F #84157A
analogous
#438415 #15841F #158456
triadic
#15841F #1F1584 #841F15
tetradic
#15841F #154384 #84157A #845615
square
#15841F #154384 #84157A #845615
split-complementary
#15841F #561584 #841543
monochromatic
#041A06 #0D4F13 #15841F #1DB92B #35DF44

Accessibility & contrast

On white

4.83
#15841F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#15841F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15841F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15841F#FFFFFF#000000##FFFFFF
##15841F1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#87770B
Deuteranopia (green-blind)
#7B6F2A
Tritanopia (blue-blind)
#008071
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #15841f;
/* rgb */ color: rgb(21, 132, 31);
/* oklch */ color: oklch(53.5% 0.166 143.7);
Tailwind
colors: {
  custom: {
    50: '#6aa962',
    500: '#15841f',
    950: '#000000',
  },
}
SCSS
$custom: #15841f;
$custom-light: #6aa962;
$custom-dark: #000000;
JSON
{
  "hex": "#15841f",
  "rgb": {
    "r": 21,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 125.405,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.53518,
    "c": 0.16584,
    "h": 143.7
  },
  "luminance": 0.16761
}

Semantic roles & 50–950 ramp

primary
#15841F
secondary
#B93CAD
accent
#39DFEF
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#081005
muted
#7A7F7A

Preview Lab

Preview with #15841F

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

Preview Lab → · Contrast checker → · Palette generator →

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