#5FAF2E#5FAF2E

#5FAF2E is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 67.8% C 0.179 H 136.2°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#5FAF2E
RGBrgb(95, 175, 46)
HSLhsl(97, 58%, 43%)
HSVhsv(97, 74%, 69%)
CMYKcmyk(45.7%, 0%, 73.7%, 31.4%)
CIE-LABlab(64.39, -46.47, 55.10)
CIE-LCHlch(64.39, 72.08, 130.14°)
OKLaboklab(67.75% -0.1293 0.1239)
OKLCHoklch(67.75% 0.179 136.2)
XYZxyz(20.5419, 33.2888, 7.9272)
Luminance0.3329 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF2E #7E2EAF
analogous
#9FAF2E #5FAF2E #2EAF3D
triadic
#5FAF2E #2E5FAF #AF2E5F
tetradic
#5FAF2E #2E9FAF #7E2EAF #AF3D2E
square
#5FAF2E #2E9FAF #7E2EAF #AF3D2E
split-complementary
#5FAF2E #3D2EAF #AF2E9F
monochromatic
#2A4E15 #457F21 #5FAF2E #7DD04B #A0DC7B

Accessibility & contrast

On white

2.74
#5FAF2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.66
#5FAF2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF2E
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF2E#FFFFFF#000000##000000
##5FAF2E1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5faf2e;
/* rgb */ color: rgb(95, 175, 46);
/* oklch */ color: oklch(67.8% 0.179 136.2);
Tailwind
colors: {
  custom: {
    50: '#93c76f',
    500: '#5faf2e',
    950: '#000000',
  },
}
SCSS
$custom: #5faf2e;
$custom-light: #93c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf2e",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 46
  },
  "hsl": {
    "h": 97.209,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.67754,
    "c": 0.17908,
    "h": 136.2
  },
  "luminance": 0.3329
}

Semantic roles & 50–950 ramp

primary
#5FAF2E
secondary
#A674C5
accent
#46E2A7
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF2E

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

Preview Lab → · Contrast checker → · Palette generator →

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