#5D902F#5D902F

#5D902F is a mid, vivid yellow-green. Relative luminance 0.225; OKLCH L 59.7% C 0.139 H 132.9°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5D902F
RGBrgb(93, 144, 47)
HSLhsl(92, 51%, 37%)
HSVhsv(92, 67%, 56%)
CMYKcmyk(35.4%, 0%, 67.4%, 43.5%)
CIE-LABlab(54.53, -33.81, 44.51)
CIE-LCHlch(54.53, 55.89, 127.22°)
OKLaboklab(59.66% -0.0947 0.1019)
OKLCHoklch(59.66% 0.139 132.9)
XYZxyz(15.0003, 22.4783, 6.2372)
Luminance0.2248 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D902F #622F90
analogous
#8E902F #5D902F #2F9031
triadic
#5D902F #2F5D90 #902F5D
tetradic
#5D902F #2F8E90 #622F90 #90312F
square
#5D902F #2F8E90 #622F90 #90312F
split-complementary
#5D902F #312F90 #902F8E
monochromatic
#213411 #3F6220 #5D902F #7BBE3E #9ACF6B

Accessibility & contrast

On white

3.82
#5D902F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#5D902F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5D902F
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D902F#FFFFFF#000000##000000
##5D902F1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968522
Deuteranopia (green-blind)
#8F8137
Tritanopia (blue-blind)
#5E8A7C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5d902f;
/* rgb */ color: rgb(93, 144, 47);
/* oklch */ color: oklch(59.7% 0.139 132.9);
Tailwind
colors: {
  custom: {
    50: '#8fb16d',
    500: '#5d902f',
    950: '#000000',
  },
}
SCSS
$custom: #5d902f;
$custom-light: #8fb16d;
$custom-dark: #000000;
JSON
{
  "hex": "#5d902f",
  "rgb": {
    "r": 93,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 91.546,
    "s": 50.785,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59659,
    "c": 0.13912,
    "h": 132.9
  },
  "luminance": 0.22479
}

Semantic roles & 50–950 ramp

primary
#5D902F
secondary
#8F65B6
accent
#4EDA98
background
#F9FAF6
surface
#F1F5EC
border
#CBCFC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5D902F

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

Preview Lab → · Contrast checker → · Palette generator →

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