#5A952F#5A952F

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

Color values

HEX#5A952F
RGBrgb(90, 149, 47)
HSLhsl(95, 52%, 38%)
HSVhsv(95, 68%, 58%)
CMYKcmyk(39.6%, 0%, 68.5%, 41.6%)
CIE-LABlab(55.96, -37.14, 45.98)
CIE-LCHlch(55.96, 59.11, 128.93°)
OKLaboklab(60.78% -0.1036 0.105)
OKLCHoklch(60.78% 0.148 134.6)
XYZxyz(15.4767, 23.8730, 6.4813)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A952F #6A2F95
analogous
#8D952F #5A952F #2F9537
triadic
#5A952F #2F5A95 #952F5A
tetradic
#5A952F #2F8D95 #6A2F95 #95372F
square
#5A952F #2F8D95 #6A2F95 #95372F
split-complementary
#5A952F #372F95 #952F8D
monochromatic
#223812 #3E6620 #5A952F #76C23F #97D16D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5A952F#FFFFFF#000000##000000
##5A952F1.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)
#9B8921
Deuteranopia (green-blind)
#938438
Tritanopia (blue-blind)
#598F80
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5a952f;
/* rgb */ color: rgb(90, 149, 47);
/* oklch */ color: oklch(60.8% 0.148 134.6);
Tailwind
colors: {
  custom: {
    50: '#8db46d',
    500: '#5a952f',
    950: '#000000',
  },
}
SCSS
$custom: #5a952f;
$custom-light: #8db46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5a952f",
  "rgb": {
    "r": 90,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 94.706,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.60784,
    "c": 0.14753,
    "h": 134.6
  },
  "luminance": 0.23874
}

Semantic roles & 50–950 ramp

primary
#5A952F
secondary
#9667B8
accent
#4CDB9F
background
#F8FBF6
surface
#F0F6EC
border
#CBD0C7
text
#0D1107
muted
#7D807A

Preview Lab

Preview with #5A952F

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

Preview Lab → · Contrast checker → · Palette generator →

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