#5FAF1E#5FAF1E

#5FAF1E is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.187 H 135.2°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5FAF1E
RGBrgb(95, 175, 30)
HSLhsl(93, 71%, 40%)
HSVhsv(93, 83%, 69%)
CMYKcmyk(45.7%, 0%, 82.9%, 31.4%)
CIE-LABlab(64.31, -47.37, 60.04)
CIE-LCHlch(64.31, 76.48, 128.27°)
OKLaboklab(67.66% -0.1327 0.1319)
OKLCHoklch(67.66% 0.187 135.2)
XYZxyz(20.2832, 33.1853, 6.5647)
Luminance0.3319 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF1E #6E1EAF
analogous
#A8AF1E #5FAF1E #1EAF25
triadic
#5FAF1E #1E5FAF #AF1E5F
tetradic
#5FAF1E #1EA8AF #6E1EAF #AF251E
square
#5FAF1E #1EA8AF #6E1EAF #AF251E
split-complementary
#5FAF1E #251EAF #AF1EA8
monochromatic
#26470C #437B15 #5FAF1E #7CDB2F #9DE463

Accessibility & contrast

On white

2.75
#5FAF1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#5FAF1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF1E
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF1E#FFFFFF#000000##000000
##5FAF1E1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#AB9A30
Tritanopia (blue-blind)
#5DA895
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf1e;
/* rgb */ color: rgb(95, 175, 30);
/* oklch */ color: oklch(67.7% 0.187 135.2);
Tailwind
colors: {
  custom: {
    50: '#94c768',
    500: '#5faf1e',
    950: '#000000',
  },
}
SCSS
$custom: #5faf1e;
$custom-light: #94c768;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf1e",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 30
  },
  "hsl": {
    "h": 93.103,
    "s": 70.732,
    "l": 40.196
  },
  "oklch": {
    "l": 0.67659,
    "c": 0.18712,
    "h": 135.2
  },
  "luminance": 0.33187
}

Semantic roles & 50–950 ramp

primary
#5FAF1E
secondary
#9A60C9
accent
#3AED9D
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAF1E

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

Preview Lab → · Contrast checker → · Palette generator →

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