#15731B#15731B

#15731B is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.6% C 0.148 H 143.5°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#15731B
RGBrgb(21, 115, 27)
HSLhsl(124, 69%, 27%)
HSVhsv(124, 82%, 45%)
CMYKcmyk(81.7%, 0%, 76.5%, 54.9%)
CIE-LABlab(42.00, -44.09, 38.93)
CIE-LCHlch(42.00, 58.82, 138.56°)
OKLaboklab(48.55% -0.1194 0.0882)
OKLCHoklch(48.55% 0.148 143.5)
XYZxyz(6.6374, 12.4992, 3.0995)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15731B #73156D
analogous
#3E7315 #15731B #15734A
triadic
#15731B #1B1573 #731B15
tetradic
#15731B #153E73 #73156D #734A15
square
#15731B #153E73 #73156D #734A15
split-complementary
#15731B #4A1573 #73153E
monochromatic
#051A06 #0C3F0F #15731B #1EA727 #2AD835

Accessibility & contrast

On white

6.00
#15731B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#15731B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15731B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15731B#FFFFFF#000000##FFFFFF
##15731B1.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75670B
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #15731b;
/* rgb */ color: rgb(21, 115, 27);
/* oklch */ color: oklch(48.6% 0.148 143.5);
Tailwind
colors: {
  custom: {
    50: '#659c5e',
    500: '#15731b',
    950: '#000000',
  },
}
SCSS
$custom: #15731b;
$custom-light: #659c5e;
$custom-dark: #000000;
JSON
{
  "hex": "#15731b",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 27
  },
  "hsl": {
    "h": 123.83,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48554,
    "c": 0.14846,
    "h": 143.5
  },
  "luminance": 0.125
}

Semantic roles & 50–950 ramp

primary
#15731B
secondary
#A93BA2
accent
#3CE1EC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #15731B

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

Preview Lab → · Contrast checker → · Palette generator →

#15731B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva