#5FB526#5FB526

#5FB526 is a light, vivid yellow-green. Relative luminance 0.356; OKLCH L 69.2% C 0.191 H 136.2°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#5FB526
RGBrgb(95, 181, 38)
HSLhsl(96, 65%, 43%)
HSVhsv(96, 79%, 71%)
CMYKcmyk(47.5%, 0%, 79%, 29%)
CIE-LABlab(66.23, -49.34, 59.53)
CIE-LCHlch(66.23, 77.32, 129.65°)
OKLaboklab(69.25% -0.1375 0.132)
OKLCHoklch(69.25% 0.191 136.2)
XYZxyz(21.5925, 35.6192, 7.5708)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FB526 #7C26B5
analogous
#A6B526 #5FB526 #26B534
triadic
#5FB526 #265FB5 #B5265F
tetradic
#5FB526 #26A6B5 #7C26B5 #B53426
square
#5FB526 #26A6B5 #7C26B5 #B53426
split-complementary
#5FB526 #3426B5 #B526A6
monochromatic
#2A5011 #44821B #5FB526 #7DD741 #A0E274

Accessibility & contrast

On white

2.58
#5FB526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#5FB526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FB526
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FB526#FFFFFF#000000##000000
##5FB5261.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA500
Deuteranopia (green-blind)
#B09E36
Tritanopia (blue-blind)
#5BAE9B
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #5fb526;
/* rgb */ color: rgb(95, 181, 38);
/* oklch */ color: oklch(69.2% 0.191 136.2);
Tailwind
colors: {
  custom: {
    50: '#94cc6c',
    500: '#5fb526',
    950: '#000000',
  },
}
SCSS
$custom: #5fb526;
$custom-light: #94cc6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5fb526",
  "rgb": {
    "r": 95,
    "g": 181,
    "b": 38
  },
  "hsl": {
    "h": 96.084,
    "s": 65.297,
    "l": 42.941
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.19065,
    "h": 136.2
  },
  "luminance": 0.35621
}

Semantic roles & 50–950 ramp

primary
#5FB526
secondary
#A56EC9
accent
#40E8A5
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FB526

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

Preview Lab → · Contrast checker → · Palette generator →

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