#5FB231#5FB231

#5FB231 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.5% C 0.181 H 136.7°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#5FB231
RGBrgb(95, 178, 49)
HSLhsl(99, 57%, 45%)
HSVhsv(99, 72%, 70%)
CMYKcmyk(46.6%, 0%, 72.5%, 30.2%)
CIE-LABlab(65.35, -47.46, 54.97)
CIE-LCHlch(65.35, 72.62, 130.81°)
OKLaboklab(68.55% -0.1318 0.1241)
OKLCHoklch(68.55% 0.181 136.7)
XYZxyz(21.1935, 34.4941, 8.4464)
Luminance0.3449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB231 #8431B2
analogous
#9FB231 #5FB231 #31B244
triadic
#5FB231 #315FB2 #B2315F
tetradic
#5FB231 #319FB2 #8431B2 #B24431
square
#5FB231 #319FB2 #8431B2 #B24431
split-complementary
#5FB231 #4431B2 #B2319F
monochromatic
#2C5217 #458224 #5FB231 #7ECF51 #A2DC81

Accessibility & contrast

On white

2.66
#5FB231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#5FB231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB231
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB231#FFFFFF#000000##000000
##5FB2311.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31A
Deuteranopia (green-blind)
#AD9C3E
Tritanopia (blue-blind)
#5BAC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5fb231;
/* rgb */ color: rgb(95, 178, 49);
/* oklch */ color: oklch(68.5% 0.181 136.7);
Tailwind
colors: {
  custom: {
    50: '#94ca71',
    500: '#5fb231',
    950: '#000000',
  },
}
SCSS
$custom: #5fb231;
$custom-light: #94ca71;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb231",
  "rgb": {
    "r": 95,
    "g": 178,
    "b": 49
  },
  "hsl": {
    "h": 98.605,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.68547,
    "c": 0.18098,
    "h": 136.7
  },
  "luminance": 0.34495
}

Semantic roles & 50–950 ramp

primary
#5FB231
secondary
#AA79C5
accent
#48E0AA
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB231

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

Preview Lab → · Contrast checker → · Palette generator →

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