#5F9E20#5F9E20

#5F9E20 is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.3% C 0.166 H 133.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#5F9E20
RGBrgb(95, 158, 32)
HSLhsl(90, 66%, 37%)
HSVhsv(90, 80%, 62%)
CMYKcmyk(39.9%, 0%, 79.7%, 38%)
CIE-LABlab(58.97, -40.28, 54.57)
CIE-LCHlch(58.97, 67.82, 126.43°)
OKLaboklab(63.28% -0.1135 0.1207)
OKLCHoklch(63.28% 0.166 133.2)
XYZxyz(17.2066, 26.9901, 5.6692)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E20 #5F209E
analogous
#9E9E20 #5F9E20 #209E20
triadic
#5F9E20 #205F9E #9E205F
tetradic
#5F9E20 #209E9E #5F209E #9E2020
square
#5F9E20 #209E9E #5F209E #9E2020
split-complementary
#5F9E20 #20209E #9E209E
monochromatic
#22380B #406B16 #5F9E20 #7ED12A #9CDE5B

Accessibility & contrast

On white

3.28
#5F9E20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#5F9E20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9E20
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9E20#FFFFFF#000000##000000
##5F9E201.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e20;
/* rgb */ color: rgb(95, 158, 32);
/* oklch */ color: oklch(63.3% 0.166 133.2);
Tailwind
colors: {
  custom: {
    50: '#92bb67',
    500: '#5f9e20',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e20;
$custom-light: #92bb67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e20",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 90,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63278,
    "c": 0.1657,
    "h": 133.2
  },
  "luminance": 0.26991
}

Semantic roles & 50–950 ramp

primary
#5F9E20
secondary
#8D58C2
accent
#3FE994
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5F9E20

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

Preview Lab → · Contrast checker → · Palette generator →

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