#5E971C#5E971C

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

Color values

HEX#5E971C
RGBrgb(94, 151, 28)
HSLhsl(88, 69%, 35%)
HSVhsv(88, 81%, 59%)
CMYKcmyk(37.7%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.68, -37.82, 53.65)
CIE-LCHlch(56.68, 65.64, 125.18°)
OKLaboklab(61.39% -0.1071 0.1182)
OKLCHoklch(61.39% 0.159 132.2)
XYZxyz(15.8921, 24.5960, 5.0085)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E971C #551C97
analogous
#97931C #5E971C #20971C
triadic
#5E971C #1C5E97 #971C5E
tetradic
#5E971C #1C9793 #551C97 #971C20
square
#5E971C #1C9793 #551C97 #971C20
split-complementary
#5E971C #1C2097 #931C97
monochromatic
#1E3009 #3E6312 #5E971C #7ECB26 #9CDE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E971C#FFFFFF#000000##000000
##5E971C1.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)
#96862A
Tritanopia (blue-blind)
#5F9081
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e971c;
/* rgb */ color: rgb(94, 151, 28);
/* oklch */ color: oklch(61.4% 0.159 132.2);
Tailwind
colors: {
  custom: {
    50: '#91b664',
    500: '#5e971c',
    950: '#000000',
  },
}
SCSS
$custom: #5e971c;
$custom-light: #91b664;
$custom-dark: #000000;
JSON
{
  "hex": "#5e971c",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 87.805,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61389,
    "c": 0.15948,
    "h": 132.2
  },
  "luminance": 0.24597
}

Semantic roles & 50–950 ramp

primary
#5E971C
secondary
#834EC1
accent
#3CEC8D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E971C

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

Preview Lab → · Contrast checker → · Palette generator →

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