#5FAF29#5FAF29

#5FAF29 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.7% C 0.182 H 135.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5FAF29
RGBrgb(95, 175, 41)
HSLhsl(96, 62%, 42%)
HSVhsv(96, 77%, 69%)
CMYKcmyk(45.7%, 0%, 76.6%, 31.4%)
CIE-LABlab(64.36, -46.79, 56.80)
CIE-LCHlch(64.36, 73.59, 129.48°)
OKLaboklab(67.72% -0.1305 0.1268)
OKLCHoklch(67.72% 0.182 135.8)
XYZxyz(20.4490, 33.2517, 7.4381)
Luminance0.3325 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF29 #7929AF
analogous
#A2AF29 #5FAF29 #29AF36
triadic
#5FAF29 #295FAF #AF295F
tetradic
#5FAF29 #29A2AF #7929AF #AF3629
square
#5FAF29 #29A2AF #7929AF #AF3629
split-complementary
#5FAF29 #3629AF #AF29A2
monochromatic
#294C12 #447D1D #5FAF29 #7DD342 #9FDE74

Accessibility & contrast

On white

2.74
#5FAF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#5FAF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF29
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF29#FFFFFF#000000##000000
##5FAF291.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A007
Deuteranopia (green-blind)
#AB9A37
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf29;
/* rgb */ color: rgb(95, 175, 41);
/* oklch */ color: oklch(67.7% 0.182 135.8);
Tailwind
colors: {
  custom: {
    50: '#94c76d',
    500: '#5faf29',
    950: '#000000',
  },
}
SCSS
$custom: #5faf29;
$custom-light: #94c76d;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf29",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 95.821,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.6772,
    "c": 0.18192,
    "h": 135.8
  },
  "luminance": 0.33253
}

Semantic roles & 50–950 ramp

primary
#5FAF29
secondary
#A26EC6
accent
#43E5A4
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF29

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

Preview Lab → · Contrast checker → · Palette generator →

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