#5FA529#5FA529

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

Color values

HEX#5FA529
RGBrgb(95, 165, 41)
HSLhsl(94, 60%, 40%)
HSVhsv(94, 75%, 65%)
CMYKcmyk(42.4%, 0%, 75.2%, 35.3%)
CIE-LABlab(61.22, -42.70, 53.74)
CIE-LCHlch(61.22, 68.64, 128.47°)
OKLaboklab(65.14% -0.1194 0.1204)
OKLCHoklch(65.14% 0.17 134.8)
XYZxyz(18.5743, 29.5022, 6.8132)
Luminance0.2950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA529 #6F29A5
analogous
#9DA529 #5FA529 #29A531
triadic
#5FA529 #295FA5 #A5295F
tetradic
#5FA529 #299DA5 #6F29A5 #A53129
square
#5FA529 #299DA5 #6F29A5 #A53129
split-complementary
#5FA529 #3129A5 #A5299D
monochromatic
#274311 #43741D #5FA529 #7CCF3D #9DDB6E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FA529#FFFFFF#000000##000000
##5FA5291.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)
#AB970F
Deuteranopia (green-blind)
#A29236
Tritanopia (blue-blind)
#5E9F8D
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #5fa529;
/* rgb */ color: rgb(95, 165, 41);
/* oklch */ color: oklch(65.1% 0.170 134.8);
Tailwind
colors: {
  custom: {
    50: '#92c06c',
    500: '#5fa529',
    950: '#000000',
  },
}
SCSS
$custom: #5fa529;
$custom-light: #92c06c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa529",
  "rgb": {
    "r": 95,
    "g": 165,
    "b": 41
  },
  "hsl": {
    "h": 93.871,
    "s": 60.194,
    "l": 40.392
  },
  "oklch": {
    "l": 0.65143,
    "c": 0.16957,
    "h": 134.8
  },
  "luminance": 0.29503
}

Semantic roles & 50–950 ramp

primary
#5FA529
secondary
#9B68C2
accent
#44E39E
background
#F9FBF6
surface
#F2F7EC
border
#CCD0C7
text
#0E1207
muted
#7E817A

Preview Lab

Preview with #5FA529

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

Preview Lab → · Contrast checker → · Palette generator →

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