#5FA526#5FA526

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

Color values

HEX#5FA526
RGBrgb(95, 165, 38)
HSLhsl(93, 63%, 40%)
HSVhsv(93, 77%, 65%)
CMYKcmyk(42.4%, 0%, 77%, 35.3%)
CIE-LABlab(61.20, -42.89, 54.75)
CIE-LCHlch(61.20, 69.55, 128.07°)
OKLaboklab(65.12% -0.1202 0.122)
OKLCHoklch(65.12% 0.171 134.6)
XYZxyz(18.5239, 29.4821, 6.5479)
Luminance0.2948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA526 #6C26A5
analogous
#9FA526 #5FA526 #26A52C
triadic
#5FA526 #265FA5 #A5265F
tetradic
#5FA526 #269FA5 #6C26A5 #A52C26
square
#5FA526 #269FA5 #6C26A5 #A52C26
split-complementary
#5FA526 #2C26A5 #A5269F
monochromatic
#26420F #42731B #5FA526 #7CD137 #9DDC69

Accessibility & contrast

On white

3.04
#5FA526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#5FA526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA526
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA526#FFFFFF#000000##000000
##5FA5261.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5fa526;
/* rgb */ color: rgb(95, 165, 38);
/* oklch */ color: oklch(65.1% 0.171 134.6);
Tailwind
colors: {
  custom: {
    50: '#93c06a',
    500: '#5fa526',
    950: '#000000',
  },
}
SCSS
$custom: #5fa526;
$custom-light: #93c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa526",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 93.071,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65123,
    "c": 0.17126,
    "h": 134.6
  },
  "luminance": 0.29483
}

Semantic roles & 50–950 ramp

primary
#5FA526
secondary
#9864C3
accent
#42E69C
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA526

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

Preview Lab → · Contrast checker → · Palette generator →

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