#5FA527#5FA527

#5FA527 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#5FA527
RGBrgb(95, 165, 39)
HSLhsl(93, 62%, 40%)
HSVhsv(93, 76%, 65%)
CMYKcmyk(42.4%, 0%, 76.4%, 35.3%)
CIE-LABlab(61.21, -42.83, 54.42)
CIE-LCHlch(61.21, 69.25, 128.20°)
OKLaboklab(65.13% -0.1199 0.1215)
OKLCHoklch(65.13% 0.171 134.6)
XYZxyz(18.5403, 29.4886, 6.6340)
Luminance0.2949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA527 #6D27A5
analogous
#9EA527 #5FA527 #27A52E
triadic
#5FA527 #275FA5 #A5275F
tetradic
#5FA527 #279EA5 #6D27A5 #A52E27
square
#5FA527 #279EA5 #6D27A5 #A52E27
split-complementary
#5FA527 #2E27A5 #A5279E
monochromatic
#264210 #43741B #5FA527 #7CD039 #9DDC6A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA527#FFFFFF#000000##000000
##5FA5271.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)
#AB9709
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#5E9E8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa527;
/* rgb */ color: rgb(95, 165, 39);
/* oklch */ color: oklch(65.1% 0.171 134.6);
Tailwind
colors: {
  custom: {
    50: '#92c06b',
    500: '#5fa527',
    950: '#000000',
  },
}
SCSS
$custom: #5fa527;
$custom-light: #92c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa527",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 39
  },
  "hsl": {
    "h": 93.333,
    "s": 61.765,
    "l": 40
  },
  "oklch": {
    "l": 0.65129,
    "c": 0.17071,
    "h": 134.6
  },
  "luminance": 0.2949
}

Semantic roles & 50–950 ramp

primary
#5FA527
secondary
#9966C2
accent
#43E59D
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA527

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

Preview Lab → · Contrast checker → · Palette generator →

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