#5D902A#5D902A

#5D902A is a mid, vivid yellow-green. Relative luminance 0.224; OKLCH L 59.6% C 0.143 H 132.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#5D902A
RGBrgb(93, 144, 42)
HSLhsl(90, 55%, 36%)
HSVhsv(90, 71%, 56%)
CMYKcmyk(35.4%, 0%, 70.8%, 43.5%)
CIE-LABlab(54.49, -34.21, 46.56)
CIE-LCHlch(54.49, 57.78, 126.31°)
OKLaboklab(59.61% -0.0962 0.1055)
OKLCHoklch(59.61% 0.143 132.4)
XYZxyz(14.9052, 22.4402, 5.7361)
Luminance0.2244 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D902A #5D2A90
analogous
#90902A #5D902A #2A902A
triadic
#5D902A #2A5D90 #902A5D
tetradic
#5D902A #2A9090 #5D2A90 #902A2A
square
#5D902A #2A9090 #5D2A90 #902A2A
split-complementary
#5D902A #2A2A90 #902A90
monochromatic
#20310E #3E611C #5D902A #7CBF38 #9AD163

Accessibility & contrast

On white

3.83
#5D902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#5D902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D902A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D902A#FFFFFF#000000##000000
##5D902A1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#96851A
Deuteranopia (green-blind)
#8F8133
Tritanopia (blue-blind)
#5E8A7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d902a;
/* rgb */ color: rgb(93, 144, 42);
/* oklch */ color: oklch(59.6% 0.143 132.4);
Tailwind
colors: {
  custom: {
    50: '#8fb16a',
    500: '#5d902a',
    950: '#000000',
  },
}
SCSS
$custom: #5d902a;
$custom-light: #8fb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d902a",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 90,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.59614,
    "c": 0.1428,
    "h": 132.4
  },
  "luminance": 0.22441
}

Semantic roles & 50–950 ramp

primary
#5D902A
secondary
#8B5EB7
accent
#4ADE94
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D902A

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

Preview Lab → · Contrast checker → · Palette generator →

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