#15781A#15781A

#15781A is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.0% C 0.155 H 143.3°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#15781A
RGBrgb(21, 120, 26)
HSLhsl(123, 70%, 28%)
HSVhsv(123, 83%, 47%)
CMYKcmyk(82.5%, 0%, 78.3%, 52.9%)
CIE-LABlab(43.75, -45.87, 41.07)
CIE-LCHlch(43.75, 61.57, 138.16°)
OKLaboklab(50.01% -0.1243 0.0926)
OKLCHoklch(50.01% 0.155 143.3)
XYZxyz(7.2117, 13.6661, 3.2348)
Luminance0.1367 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15781A #781573
analogous
#427815 #15781A #15784B
triadic
#15781A #1A1578 #781A15
tetradic
#15781A #154278 #781573 #784B15
square
#15781A #154278 #781573 #784B15
split-complementary
#15781A #4B1578 #781542
monochromatic
#051A06 #0C440F #15781A #1EAC25 #2DDA36

Accessibility & contrast

On white

5.62
#15781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#15781A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #15781A
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##15781A#FFFFFF#000000##FFFFFF
##15781A1.005.623.735.62
#FFFFFF5.621.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C06
Deuteranopia (green-blind)
#706524
Tritanopia (blue-blind)
#007466
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #15781a;
/* rgb */ color: rgb(21, 120, 26);
/* oklch */ color: oklch(50.0% 0.155 143.3);
Tailwind
colors: {
  custom: {
    50: '#67a05e',
    500: '#15781a',
    950: '#000000',
  },
}
SCSS
$custom: #15781a;
$custom-light: #67a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#15781a",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 123.03,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50008,
    "c": 0.15495,
    "h": 143.3
  },
  "luminance": 0.13667
}

Semantic roles & 50–950 ramp

primary
#15781A
secondary
#AE3BA8
accent
#3BE4ED
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #15781A

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

Preview Lab → · Contrast checker → · Palette generator →

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