#5E951F#5E951F

#5E951F is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.155 H 132.0°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#5E951F
RGBrgb(94, 149, 31)
HSLhsl(88, 66%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(36.9%, 0%, 79.2%, 41.6%)
CIE-LABlab(56.06, -36.79, 52.14)
CIE-LCHlch(56.06, 63.81, 125.20°)
OKLaboklab(60.89% -0.1041 0.1155)
OKLCHoklch(60.89% 0.155 132)
XYZxyz(15.6107, 23.9728, 5.1008)
Luminance0.2397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E951F #561F95
analogous
#95911F #5E951F #23951F
triadic
#5E951F #1F5E95 #951F5E
tetradic
#5E951F #1F9591 #561F95 #951F23
square
#5E951F #1F9591 #561F95 #951F23
split-complementary
#5E951F #1F2395 #911F95
monochromatic
#1E300A #3E6214 #5E951F #7EC82A #9CDB53

Accessibility & contrast

On white

3.62
#5E951F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#5E951F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E951F
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E951F#FFFFFF#000000##000000
##5E951F1.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#5F8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5e951f;
/* rgb */ color: rgb(94, 149, 31);
/* oklch */ color: oklch(60.9% 0.155 132.0);
Tailwind
colors: {
  custom: {
    50: '#91b465',
    500: '#5e951f',
    950: '#000000',
  },
}
SCSS
$custom: #5e951f;
$custom-light: #91b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5e951f",
  "rgb": {
    "r": 94,
    "g": 149,
    "b": 31
  },
  "hsl": {
    "h": 87.966,
    "s": 65.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60887,
    "c": 0.15549,
    "h": 132
  },
  "luminance": 0.23974
}

Semantic roles & 50–950 ramp

primary
#5E951F
secondary
#8451BF
accent
#3FE98E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E951F

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

Preview Lab → · Contrast checker → · Palette generator →

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