#5F9E22#5F9E22

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

Color values

HEX#5F9E22
RGBrgb(95, 158, 34)
HSLhsl(90, 65%, 38%)
HSVhsv(90, 78%, 62%)
CMYKcmyk(39.9%, 0%, 78.5%, 38%)
CIE-LABlab(58.98, -40.17, 53.94)
CIE-LCHlch(58.98, 67.26, 126.67°)
OKLaboklab(63.29% -0.1131 0.1197)
OKLCHoklch(63.29% 0.165 133.4)
XYZxyz(17.2346, 27.0013, 5.8167)
Luminance0.2700 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9E22 #61229E
analogous
#9D9E22 #5F9E22 #229E23
triadic
#5F9E22 #225F9E #9E225F
tetradic
#5F9E22 #229D9E #61229E #9E2322
square
#5F9E22 #229D9E #61229E #9E2322
split-complementary
#5F9E22 #23229E #9E229D
monochromatic
#22390C #416C17 #5F9E22 #7DD02D #9CDC5E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9E22#FFFFFF#000000##000000
##5F9E221.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)
#9C8C2F
Tritanopia (blue-blind)
#5F9787
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5f9e22;
/* rgb */ color: rgb(95, 158, 34);
/* oklch */ color: oklch(63.3% 0.165 133.4);
Tailwind
colors: {
  custom: {
    50: '#92bb68',
    500: '#5f9e22',
    950: '#000000',
  },
}
SCSS
$custom: #5f9e22;
$custom-light: #92bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9e22",
  "rgb": {
    "r": 95,
    "g": 158,
    "b": 34
  },
  "hsl": {
    "h": 90.484,
    "s": 64.583,
    "l": 37.647
  },
  "oklch": {
    "l": 0.6329,
    "c": 0.16468,
    "h": 133.4
  },
  "luminance": 0.27002
}

Semantic roles & 50–950 ramp

primary
#5F9E22
secondary
#8F5BC1
accent
#40E895
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5F9E22

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

Preview Lab → · Contrast checker → · Palette generator →

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