#5E971A#5E971A

#5E971A is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.160 H 132.1°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E971A
RGBrgb(94, 151, 26)
HSLhsl(87, 71%, 35%)
HSVhsv(87, 83%, 59%)
CMYKcmyk(37.7%, 0%, 82.8%, 40.8%)
CIE-LABlab(56.67, -37.91, 54.22)
CIE-LCHlch(56.67, 66.16, 124.96°)
OKLaboklab(61.38% -0.1075 0.1191)
OKLCHoklch(61.38% 0.16 132.1)
XYZxyz(15.8690, 24.5868, 4.8867)
Luminance0.2459 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E971A #531A97
analogous
#97921A #5E971A #20971A
triadic
#5E971A #1A5E97 #971A5E
tetradic
#5E971A #1A9792 #531A97 #971A20
square
#5E971A #1A9792 #531A97 #971A20
split-complementary
#5E971A #1A2097 #921A97
monochromatic
#1D2F08 #3D6311 #5E971A #7FCB23 #9CE04B

Accessibility & contrast

On white

3.55
#5E971A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5E971A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E971A
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E971A#FFFFFF#000000##000000
##5E971A1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#968629
Tritanopia (blue-blind)
#5F9080
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e971a;
/* rgb */ color: rgb(94, 151, 26);
/* oklch */ color: oklch(61.4% 0.160 132.1);
Tailwind
colors: {
  custom: {
    50: '#91b663',
    500: '#5e971a',
    950: '#000000',
  },
}
SCSS
$custom: #5e971a;
$custom-light: #91b663;
$custom-dark: #000000;
JSON
{
  "hex": "#5e971a",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 26
  },
  "hsl": {
    "h": 87.36,
    "s": 70.621,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61378,
    "c": 0.1604,
    "h": 132.1
  },
  "luminance": 0.24587
}

Semantic roles & 50–950 ramp

primary
#5E971A
secondary
#814BC2
accent
#3AED8C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E971A

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

Preview Lab → · Contrast checker → · Palette generator →

#5E971A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva