#15731A#15731A

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

Color values

HEX#15731A
RGBrgb(21, 115, 26)
HSLhsl(123, 69%, 27%)
HSVhsv(123, 82%, 45%)
CMYKcmyk(81.7%, 0%, 77.4%, 54.9%)
CIE-LABlab(41.99, -44.18, 39.31)
CIE-LCHlch(41.99, 59.14, 138.34°)
OKLaboklab(48.55% -0.1197 0.0889)
OKLCHoklch(48.55% 0.149 143.4)
XYZxyz(6.6260, 12.4947, 3.0396)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15731A #73156E
analogous
#3F7315 #15731A #157349
triadic
#15731A #1A1573 #731A15
tetradic
#15731A #153F73 #73156E #734915
square
#15731A #153F73 #73156E #734915
split-complementary
#15731A #491573 #73153F
monochromatic
#051A06 #0C3F0E #15731A #1EA726 #2AD833

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##15731A#FFFFFF#000000##FFFFFF
##15731A1.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)
#756709
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#007062
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #15731a;
/* rgb */ color: rgb(21, 115, 26);
/* oklch */ color: oklch(48.5% 0.149 143.4);
Tailwind
colors: {
  custom: {
    50: '#659c5d',
    500: '#15731a',
    950: '#000000',
  },
}
SCSS
$custom: #15731a;
$custom-light: #659c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#15731a",
  "rgb": {
    "r": 21,
    "g": 115,
    "b": 26
  },
  "hsl": {
    "h": 123.191,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48546,
    "c": 0.14909,
    "h": 143.4
  },
  "luminance": 0.12495
}

Semantic roles & 50–950 ramp

primary
#15731A
secondary
#A93BA3
accent
#3CE3EC
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E04
muted
#7A7E79

Preview Lab

Preview with #15731A

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

Preview Lab → · Contrast checker → · Palette generator →

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