#5FB31D#5FB31D

#5FB31D is a light, vivid yellow-green. Relative luminance 0.348; OKLCH L 68.7% C 0.192 H 135.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#5FB31D
RGBrgb(95, 179, 29)
HSLhsl(94, 72%, 41%)
HSVhsv(94, 84%, 70%)
CMYKcmyk(46.9%, 0%, 83.8%, 29.8%)
CIE-LABlab(65.56, -49.00, 61.42)
CIE-LCHlch(65.56, 78.57, 128.58°)
OKLaboklab(68.69% -0.1371 0.1347)
OKLCHoklch(68.69% 0.192 135.5)
XYZxyz(21.0607, 34.7605, 6.7618)
Luminance0.3476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB31D #711DB3
analogous
#AAB31D #5FB31D #1DB326
triadic
#5FB31D #1D5FB3 #B31D5F
tetradic
#5FB31D #1DAAB3 #711DB3 #B3261D
square
#5FB31D #1DAAB3 #711DB3 #B3261D
split-complementary
#5FB31D #261DB3 #B31DAA
monochromatic
#274A0C #437E14 #5FB31D #7CDD30 #9DE664

Accessibility & contrast

On white

2.64
#5FB31D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#5FB31D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB31D
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB31D#FFFFFF#000000##000000
##5FB31D1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AF9D30
Tritanopia (blue-blind)
#5CAC98
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb31d;
/* rgb */ color: rgb(95, 179, 29);
/* oklch */ color: oklch(68.7% 0.192 135.5);
Tailwind
colors: {
  custom: {
    50: '#94ca69',
    500: '#5fb31d',
    950: '#000000',
  },
}
SCSS
$custom: #5fb31d;
$custom-light: #94ca69;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb31d",
  "rgb": {
    "r": 95,
    "g": 179,
    "b": 29
  },
  "hsl": {
    "h": 93.6,
    "s": 72.115,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68686,
    "c": 0.19219,
    "h": 135.5
  },
  "luminance": 0.34762
}

Semantic roles & 50–950 ramp

primary
#5FB31D
secondary
#9C61CB
accent
#39EF9F
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FB31D

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

Preview Lab → · Contrast checker → · Palette generator →

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