#5FA522#5FA522

#5FA522 is a light, vivid yellow-green. Relative luminance 0.295; OKLCH L 65.1% C 0.173 H 134.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#5FA522
RGBrgb(95, 165, 34)
HSLhsl(92, 66%, 39%)
HSVhsv(92, 79%, 65%)
CMYKcmyk(42.4%, 0%, 79.4%, 35.3%)
CIE-LABlab(61.18, -43.12, 56.02)
CIE-LCHlch(61.18, 70.69, 127.58°)
OKLaboklab(65.1% -0.121 0.1241)
OKLCHoklch(65.1% 0.173 134.3)
XYZxyz(18.4628, 29.4577, 6.2261)
Luminance0.2946 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA522 #6822A5
analogous
#A1A522 #5FA522 #22A527
triadic
#5FA522 #225FA5 #A5225F
tetradic
#5FA522 #22A1A5 #6822A5 #A52722
square
#5FA522 #22A1A5 #6822A5 #A52722
split-complementary
#5FA522 #2722A5 #A522A1
monochromatic
#25400D #427218 #5FA522 #7CD430 #9CDF63

Accessibility & contrast

On white

3.05
#5FA522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#5FA522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA522
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA522#FFFFFF#000000##000000
##5FA5221.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A29231
Tritanopia (blue-blind)
#5E9E8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa522;
/* rgb */ color: rgb(95, 165, 34);
/* oklch */ color: oklch(65.1% 0.173 134.3);
Tailwind
colors: {
  custom: {
    50: '#93c068',
    500: '#5fa522',
    950: '#000000',
  },
}
SCSS
$custom: #5fa522;
$custom-light: #93c068;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa522",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 92.061,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.65098,
    "c": 0.17333,
    "h": 134.3
  },
  "luminance": 0.29459
}

Semantic roles & 50–950 ramp

primary
#5FA522
secondary
#955FC4
accent
#3FE99A
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA522

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

Preview Lab → · Contrast checker → · Palette generator →

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