#15791A#15791A

#15791A is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.3% C 0.156 H 143.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#15791A
RGBrgb(21, 121, 26)
HSLhsl(123, 70%, 28%)
HSVhsv(123, 83%, 47%)
CMYKcmyk(82.6%, 0%, 78.5%, 52.5%)
CIE-LABlab(44.10, -46.20, 41.42)
CIE-LCHlch(44.10, 62.05, 138.12°)
OKLaboklab(50.3% -0.1252 0.0933)
OKLCHoklch(50.3% 0.156 143.3)
XYZxyz(7.3326, 13.9079, 3.2751)
Luminance0.1391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15791A #791574
analogous
#427915 #15791A #15794C
triadic
#15791A #1A1579 #791A15
tetradic
#15791A #154279 #791574 #794C15
square
#15791A #154279 #791574 #794C15
split-complementary
#15791A #4C1579 #791542
monochromatic
#051A06 #0C450F #15791A #1EAD25 #2EDB36

Accessibility & contrast

On white

5.55
#15791A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#15791A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15791A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15791A#FFFFFF#000000##FFFFFF
##15791A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D05
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#007567
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #15791a;
/* rgb */ color: rgb(21, 121, 26);
/* oklch */ color: oklch(50.3% 0.156 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a15e',
    500: '#15791a',
    950: '#000000',
  },
}
SCSS
$custom: #15791a;
$custom-light: #67a15e;
$custom-dark: #000000;
JSON
{
  "hex": "#15791a",
  "rgb": {
    "r": 21,
    "g": 121,
    "b": 26
  },
  "hsl": {
    "h": 123,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.503,
    "c": 0.15611,
    "h": 143.3
  },
  "luminance": 0.13909
}

Semantic roles & 50–950 ramp

primary
#15791A
secondary
#AF3BA9
accent
#3BE4ED
background
#F6FAF5
surface
#ECF3E9
border
#C7CDC5
text
#070F05
muted
#7A7F79

Preview Lab

Preview with #15791A

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

Preview Lab → · Contrast checker → · Palette generator →

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