#5A951E#5A951E

#5A951E is a mid, vivid yellow-green. Relative luminance 0.238; OKLCH L 60.7% C 0.158 H 133.1°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5A951E
RGBrgb(90, 149, 30)
HSLhsl(90, 66%, 35%)
HSVhsv(90, 80%, 58%)
CMYKcmyk(39.6%, 0%, 79.9%, 41.6%)
CIE-LABlab(55.85, -38.31, 52.19)
CIE-LCHlch(55.85, 64.74, 126.28°)
OKLaboklab(60.66% -0.108 0.1155)
OKLCHoklch(60.66% 0.158 133.1)
XYZxyz(15.1980, 23.7616, 5.0137)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A951E #591E95
analogous
#95941E #5A951E #1F951E
triadic
#5A951E #1E5A95 #951E5A
tetradic
#5A951E #1E9594 #591E95 #951E1F
square
#5A951E #1E9594 #591E95 #951E1F
split-complementary
#5A951E #1E1F95 #941E95
monochromatic
#1C2F09 #3B6214 #5A951E #79C828 #97DC51

Accessibility & contrast

On white

3.65
#5A951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5A951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A951E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A951E#FFFFFF#000000##000000
##5A951E1.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#93842B
Tritanopia (blue-blind)
#5A8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a951e;
/* rgb */ color: rgb(90, 149, 30);
/* oklch */ color: oklch(60.7% 0.158 133.1);
Tailwind
colors: {
  custom: {
    50: '#8eb464',
    500: '#5a951e',
    950: '#000000',
  },
}
SCSS
$custom: #5a951e;
$custom-light: #8eb464;
$custom-dark: #000000;
JSON
{
  "hex": "#5a951e",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 89.748,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60656,
    "c": 0.15814,
    "h": 133.1
  },
  "luminance": 0.23762
}

Semantic roles & 50–950 ramp

primary
#5A951E
secondary
#8750BF
accent
#3EE993
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A951E

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

Preview Lab → · Contrast checker → · Palette generator →

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