#15781F#15781F

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

Color values

HEX#15781F
RGBrgb(21, 120, 31)
HSLhsl(126, 70%, 28%)
HSVhsv(126, 83%, 47%)
CMYKcmyk(82.5%, 0%, 74.2%, 52.9%)
CIE-LABlab(43.79, -45.43, 39.15)
CIE-LCHlch(43.79, 59.97, 139.24°)
OKLaboklab(50.05% -0.1228 0.0892)
OKLCHoklch(50.05% 0.152 144)
XYZxyz(7.2726, 13.6904, 3.5553)
Luminance0.1369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#15781F #78156E
analogous
#3C7815 #15781F #157851
triadic
#15781F #1F1578 #781F15
tetradic
#15781F #153C78 #78156E #785115
square
#15781F #153C78 #78156E #785115
split-complementary
#15781F #511578 #78153C
monochromatic
#051A07 #0C4412 #15781F #1EAC2C #2DDA3F

Accessibility & contrast

On white

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

On black

3.74
#15781F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##15781F#FFFFFF#000000##FFFFFF
##15781F1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #15781f;
/* rgb */ color: rgb(21, 120, 31);
/* oklch */ color: oklch(50.0% 0.152 144.0);
Tailwind
colors: {
  custom: {
    50: '#67a060',
    500: '#15781f',
    950: '#000000',
  },
}
SCSS
$custom: #15781f;
$custom-light: #67a060;
$custom-dark: #000000;
JSON
{
  "hex": "#15781f",
  "rgb": {
    "r": 21,
    "g": 120,
    "b": 31
  },
  "hsl": {
    "h": 126.061,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.50049,
    "c": 0.15183,
    "h": 144
  },
  "luminance": 0.13691
}

Semantic roles & 50–950 ramp

primary
#15781F
secondary
#AE3BA2
accent
#3BDBED
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#070F05
muted
#7A7E79

Preview Lab

Preview with #15781F

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

Preview Lab → · Contrast checker → · Palette generator →

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