#15731F#15731F

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

Color values

HEX#15731F
RGBrgb(21, 115, 31)
HSLhsl(126, 69%, 27%)
HSVhsv(126, 82%, 45%)
CMYKcmyk(81.7%, 0%, 73%, 54.9%)
CIE-LABlab(42.03, -43.72, 37.32)
CIE-LCHlch(42.03, 57.48, 139.51°)
OKLaboklab(48.59% -0.1182 0.0854)
OKLCHoklch(48.59% 0.146 144.1)
XYZxyz(6.6869, 12.5190, 3.3601)
Luminance0.1252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15731F #731569
analogous
#3A7315 #15731F #15734E
triadic
#15731F #1F1573 #731F15
tetradic
#15731F #153A73 #731569 #734E15
square
#15731F #153A73 #731569 #734E15
split-complementary
#15731F #4E1573 #73153A
monochromatic
#051A07 #0C3F11 #15731F #1EA72D #2AD83D

Accessibility & contrast

On white

5.99
#15731F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #15731F
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15731F#FFFFFF#000000##FFFFFF
##15731F1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756712
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #15731f;
/* rgb */ color: rgb(21, 115, 31);
/* oklch */ color: oklch(48.6% 0.146 144.1);
Tailwind
colors: {
  custom: {
    50: '#659c60',
    500: '#15731f',
    950: '#000000',
  },
}
SCSS
$custom: #15731f;
$custom-light: #659c60;
$custom-dark: #000000;
JSON
{
  "hex": "#15731f",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 31
  },
  "hsl": {
    "h": 126.383,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48589,
    "c": 0.14581,
    "h": 144.1
  },
  "luminance": 0.1252
}

Semantic roles & 50–950 ramp

primary
#15731F
secondary
#A93B9D
accent
#3CD9EC
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #15731F

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

Preview Lab → · Contrast checker → · Palette generator →

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