#5A951D#5A951D

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

Color values

HEX#5A951D
RGBrgb(90, 149, 29)
HSLhsl(90, 67%, 35%)
HSVhsv(90, 81%, 58%)
CMYKcmyk(39.6%, 0%, 80.5%, 41.6%)
CIE-LABlab(55.84, -38.36, 52.50)
CIE-LCHlch(55.84, 65.02, 126.15°)
OKLaboklab(60.65% -0.1082 0.116)
OKLCHoklch(60.65% 0.159 133)
XYZxyz(15.1854, 23.7565, 4.9475)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A951D #581D95
analogous
#95941D #5A951D #1E951D
triadic
#5A951D #1D5A95 #951D5A
tetradic
#5A951D #1D9594 #581D95 #951D1E
square
#5A951D #1D9594 #581D95 #951D1E
split-complementary
#5A951D #1D1E95 #941D95
monochromatic
#1C2F09 #3B6213 #5A951D #79C827 #97DD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A951D#FFFFFF#000000##000000
##5A951D1.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)
#93842A
Tritanopia (blue-blind)
#5A8F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a951d;
/* rgb */ color: rgb(90, 149, 29);
/* oklch */ color: oklch(60.7% 0.159 133.0);
Tailwind
colors: {
  custom: {
    50: '#8eb464',
    500: '#5a951d',
    950: '#000000',
  },
}
SCSS
$custom: #5a951d;
$custom-light: #8eb464;
$custom-dark: #000000;
JSON
{
  "hex": "#5a951d",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 89.5,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60651,
    "c": 0.15864,
    "h": 133
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#5A951D
secondary
#864EC0
accent
#3DEA92
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5A951D

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

Preview Lab → · Contrast checker → · Palette generator →

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