#5FAF2D#5FAF2D

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

Color values

HEX#5FAF2D
RGBrgb(95, 175, 45)
HSLhsl(97, 59%, 43%)
HSVhsv(97, 74%, 69%)
CMYKcmyk(45.7%, 0%, 74.3%, 31.4%)
CIE-LABlab(64.39, -46.54, 55.45)
CIE-LCHlch(64.39, 72.39, 130.01°)
OKLaboklab(67.75% -0.1295 0.1245)
OKLCHoklch(67.75% 0.18 136.1)
XYZxyz(20.5224, 33.2810, 7.8246)
Luminance0.3328 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF2D #7D2DAF
analogous
#A0AF2D #5FAF2D #2DAF3C
triadic
#5FAF2D #2D5FAF #AF2D5F
tetradic
#5FAF2D #2DA0AF #7D2DAF #AF3C2D
square
#5FAF2D #2DA0AF #7D2DAF #AF3C2D
split-complementary
#5FAF2D #3C2DAF #AF2DA0
monochromatic
#2A4E14 #457E20 #5FAF2D #7DD049 #A0DD7A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAF2D#FFFFFF#000000##000000
##5FAF2D1.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)
#B5A013
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf2d;
/* rgb */ color: rgb(95, 175, 45);
/* oklch */ color: oklch(67.7% 0.180 136.1);
Tailwind
colors: {
  custom: {
    50: '#93c76f',
    500: '#5faf2d',
    950: '#000000',
  },
}
SCSS
$custom: #5faf2d;
$custom-light: #93c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf2d",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 96.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67747,
    "c": 0.17967,
    "h": 136.1
  },
  "luminance": 0.33282
}

Semantic roles & 50–950 ramp

primary
#5FAF2D
secondary
#A573C5
accent
#46E2A6
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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