#5FAF26#5FAF26

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

Color values

HEX#5FAF26
RGBrgb(95, 175, 38)
HSLhsl(95, 64%, 42%)
HSVhsv(95, 78%, 69%)
CMYKcmyk(45.7%, 0%, 78.3%, 31.4%)
CIE-LABlab(64.35, -46.97, 57.76)
CIE-LCHlch(64.35, 74.44, 129.12°)
OKLaboklab(67.7% -0.1311 0.1283)
OKLCHoklch(67.7% 0.183 135.6)
XYZxyz(20.3986, 33.2315, 7.1728)
Luminance0.3323 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF26 #7626AF
analogous
#A4AF26 #5FAF26 #26AF31
triadic
#5FAF26 #265FAF #AF265F
tetradic
#5FAF26 #26A4AF #7626AF #AF3126
square
#5FAF26 #26A4AF #7626AF #AF3126
split-complementary
#5FAF26 #3126AF #AF26A4
monochromatic
#284A10 #447D1B #5FAF26 #7CD53D #9EE070

Accessibility & contrast

On white

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

On black

7.65
#5FAF26 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF26
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF26#FFFFFF#000000##000000
##5FAF261.002.757.657.65
#FFFFFF2.751.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf26;
/* rgb */ color: rgb(95, 175, 38);
/* oklch */ color: oklch(67.7% 0.183 135.6);
Tailwind
colors: {
  custom: {
    50: '#94c76c',
    500: '#5faf26',
    950: '#000000',
  },
}
SCSS
$custom: #5faf26;
$custom-light: #94c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf26",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 95.036,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67701,
    "c": 0.18348,
    "h": 135.6
  },
  "luminance": 0.33233
}

Semantic roles & 50–950 ramp

primary
#5FAF26
secondary
#A06AC7
accent
#40E7A2
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAF26

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

Preview Lab → · Contrast checker → · Palette generator →

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