#5FAF34#5FAF34

#5FAF34 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.8% C 0.175 H 136.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#5FAF34
RGBrgb(95, 175, 52)
HSLhsl(99, 54%, 45%)
HSVhsv(99, 70%, 69%)
CMYKcmyk(45.7%, 0%, 70.3%, 31.4%)
CIE-LABlab(64.43, -46.03, 52.89)
CIE-LCHlch(64.43, 70.11, 131.03°)
OKLaboklab(67.8% -0.1277 0.1201)
OKLCHoklch(67.8% 0.175 136.7)
XYZxyz(20.6685, 33.3395, 8.5942)
Luminance0.3334 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF34 #8434AF
analogous
#9DAF34 #5FAF34 #34AF46
triadic
#5FAF34 #345FAF #AF345F
tetradic
#5FAF34 #349DAF #8434AF #AF4634
square
#5FAF34 #349DAF #8434AF #AF4634
split-complementary
#5FAF34 #4634AF #AF349D
monochromatic
#2C5118 #458026 #5FAF34 #7ECC54 #A2DA83

Accessibility & contrast

On white

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

On black

7.67
#5FAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF34
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF34#FFFFFF#000000##000000
##5FAF341.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#AA9A3F
Tritanopia (blue-blind)
#5BA997
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf34;
/* rgb */ color: rgb(95, 175, 52);
/* oklch */ color: oklch(67.8% 0.175 136.7);
Tailwind
colors: {
  custom: {
    50: '#93c773',
    500: '#5faf34',
    950: '#000000',
  },
}
SCSS
$custom: #5faf34;
$custom-light: #93c773;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf34",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 99.024,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.678,
    "c": 0.17532,
    "h": 136.7
  },
  "luminance": 0.33341
}

Semantic roles & 50–950 ramp

primary
#5FAF34
secondary
#AA7BC4
accent
#4ADEAA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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