#15731C#15731C

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

Color values

HEX#15731C
RGBrgb(21, 115, 28)
HSLhsl(124, 69%, 27%)
HSVhsv(124, 82%, 45%)
CMYKcmyk(81.7%, 0%, 75.7%, 54.9%)
CIE-LABlab(42.01, -44.00, 38.54)
CIE-LCHlch(42.01, 58.49, 138.79°)
OKLaboklab(48.56% -0.1191 0.0876)
OKLCHoklch(48.56% 0.148 143.7)
XYZxyz(6.6492, 12.5039, 3.1615)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15731C #73156C
analogous
#3D7315 #15731C #15734B
triadic
#15731C #1C1573 #731C15
tetradic
#15731C #153D73 #73156C #734B15
square
#15731C #153D73 #73156C #734B15
split-complementary
#15731C #4B1573 #73153D
monochromatic
#051A06 #0C3F0F #15731C #1EA729 #2AD837

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15731C#FFFFFF#000000##FFFFFF
##15731C1.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)
#75670D
Deuteranopia (green-blind)
#6B6025
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#15731C
secondary
#A93BA1
accent
#3CDFEC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79

Preview Lab

Preview with #15731C

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

Preview Lab → · Contrast checker → · Palette generator →

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