#5A952D#5A952D

#5A952D is a mid, vivid yellow-green. Relative luminance 0.239; OKLCH L 60.8% C 0.149 H 134.4°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#5A952D
RGBrgb(90, 149, 45)
HSLhsl(94, 54%, 38%)
HSVhsv(94, 70%, 58%)
CMYKcmyk(39.6%, 0%, 69.8%, 41.6%)
CIE-LABlab(55.94, -37.30, 46.80)
CIE-LCHlch(55.94, 59.85, 128.56°)
OKLaboklab(60.77% -0.1042 0.1065)
OKLCHoklch(60.77% 0.149 134.4)
XYZxyz(15.4372, 23.8573, 6.2736)
Luminance0.2386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A952D #682D95
analogous
#8E952D #5A952D #2D9534
triadic
#5A952D #2D5A95 #952D5A
tetradic
#5A952D #2D8E95 #682D95 #95342D
square
#5A952D #2D8E95 #682D95 #95342D
split-complementary
#5A952D #342D95 #952D8E
monochromatic
#213711 #3E661F #5A952D #76C43B #97D26A

Accessibility & contrast

On white

3.64
#5A952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#5A952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A952D
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A952D#FFFFFF#000000##000000
##5A952D1.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891E
Deuteranopia (green-blind)
#938436
Tritanopia (blue-blind)
#598F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a952d;
/* rgb */ color: rgb(90, 149, 45);
/* oklch */ color: oklch(60.8% 0.149 134.4);
Tailwind
colors: {
  custom: {
    50: '#8db46c',
    500: '#5a952d',
    950: '#000000',
  },
}
SCSS
$custom: #5a952d;
$custom-light: #8db46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5a952d",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 94.038,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60766,
    "c": 0.14897,
    "h": 134.4
  },
  "luminance": 0.23858
}

Semantic roles & 50–950 ramp

primary
#5A952D
secondary
#9565B9
accent
#4BDD9E
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5A952D

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

Preview Lab → · Contrast checker → · Palette generator →

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