#5FAF30#5FAF30

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

Color values

HEX#5FAF30
RGBrgb(95, 175, 48)
HSLhsl(98, 57%, 44%)
HSVhsv(98, 73%, 69%)
CMYKcmyk(45.7%, 0%, 72.6%, 31.4%)
CIE-LABlab(64.41, -46.33, 54.38)
CIE-LCHlch(64.41, 71.44, 130.43°)
OKLaboklab(67.77% -0.1288 0.1227)
OKLCHoklch(67.77% 0.178 136.4)
XYZxyz(20.5822, 33.3050, 8.1397)
Luminance0.3331 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF30 #8030AF
analogous
#9EAF30 #5FAF30 #30AF40
triadic
#5FAF30 #305FAF #AF305F
tetradic
#5FAF30 #309EAF #8030AF #AF4030
square
#5FAF30 #309EAF #8030AF #AF4030
split-complementary
#5FAF30 #4030AF #AF309E
monochromatic
#2B4F16 #457F23 #5FAF30 #7DCE4E #A1DC7E

Accessibility & contrast

On white

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

On black

7.66
#5FAF30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF30
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF30#FFFFFF#000000##000000
##5FAF301.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A019
Deuteranopia (green-blind)
#AA9A3C
Tritanopia (blue-blind)
#5BA996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf30;
/* rgb */ color: rgb(95, 175, 48);
/* oklch */ color: oklch(67.8% 0.178 136.4);
Tailwind
colors: {
  custom: {
    50: '#93c770',
    500: '#5faf30',
    950: '#000000',
  },
}
SCSS
$custom: #5faf30;
$custom-light: #93c770;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf30",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 48
  },
  "hsl": {
    "h": 97.795,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.67769,
    "c": 0.17787,
    "h": 136.4
  },
  "luminance": 0.33306
}

Semantic roles & 50–950 ramp

primary
#5FAF30
secondary
#A876C4
accent
#48E0A8
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF30

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

Preview Lab → · Contrast checker → · Palette generator →

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