#5F902E#5F902E

#5F902E is a mid, vivid yellow-green. Relative luminance 0.226; OKLCH L 59.8% C 0.139 H 132.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#5F902E
RGBrgb(95, 144, 46)
HSLhsl(90, 52%, 37%)
HSVhsv(90, 68%, 56%)
CMYKcmyk(34%, 0%, 68.1%, 43.5%)
CIE-LABlab(54.63, -33.14, 45.08)
CIE-LCHlch(54.63, 55.95, 126.32°)
OKLaboklab(59.77% -0.0931 0.1029)
OKLCHoklch(59.77% 0.139 132.1)
XYZxyz(15.1855, 22.5761, 6.1418)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F902E #5F2E90
analogous
#90902E #5F902E #2E902E
triadic
#5F902E #2E5F90 #902E5F
tetradic
#5F902E #2E9090 #5F2E90 #902E2E
square
#5F902E #2E9090 #5F2E90 #902E2E
split-complementary
#5F902E #2E2E90 #902E90
monochromatic
#223310 #40621F #5F902E #7EBE3D #9CCF69

Accessibility & contrast

On white

3.81
#5F902E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#5F902E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F902E
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F902E#FFFFFF#000000##000000
##5F902E1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968521
Deuteranopia (green-blind)
#8F8136
Tritanopia (blue-blind)
#608A7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f902e;
/* rgb */ color: rgb(95, 144, 46);
/* oklch */ color: oklch(59.8% 0.139 132.1);
Tailwind
colors: {
  custom: {
    50: '#90b16c',
    500: '#5f902e',
    950: '#000000',
  },
}
SCSS
$custom: #5f902e;
$custom-light: #90b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f902e",
  "rgb": {
    "r": 95,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 90,
    "s": 51.579,
    "l": 37.255
  },
  "oklch": {
    "l": 0.59769,
    "c": 0.1388,
    "h": 132.1
  },
  "luminance": 0.22577
}

Semantic roles & 50–950 ramp

primary
#5F902E
secondary
#8D64B6
accent
#4DDB94
background
#F9FAF6
surface
#F1F5EC
border
#CBCFC7
text
#0D1007
muted
#7E7F7A

Preview Lab

Preview with #5F902E

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

Preview Lab → · Contrast checker → · Palette generator →

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