#5FAF2C#5FAF2C

#5FAF2C 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.65:1 contrast (WCAG AA passes).

Color values

HEX#5FAF2C
RGBrgb(95, 175, 44)
HSLhsl(97, 60%, 43%)
HSVhsv(97, 75%, 69%)
CMYKcmyk(45.7%, 0%, 74.9%, 31.4%)
CIE-LABlab(64.38, -46.60, 55.80)
CIE-LCHlch(64.38, 72.70, 129.87°)
OKLaboklab(67.74% -0.1298 0.1251)
OKLCHoklch(67.74% 0.18 136.1)
XYZxyz(20.5034, 33.2734, 7.7244)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF2C #7C2CAF
analogous
#A0AF2C #5FAF2C #2CAF3A
triadic
#5FAF2C #2C5FAF #AF2C5F
tetradic
#5FAF2C #2CA0AF #7C2CAF #AF3A2C
square
#5FAF2C #2CA0AF #7C2CAF #AF3A2C
split-complementary
#5FAF2C #3A2CAF #AF2CA0
monochromatic
#2A4D13 #447E20 #5FAF2C #7DD147 #A0DD78

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAF2C#FFFFFF#000000##000000
##5FAF2C1.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5faf2c;
/* rgb */ color: rgb(95, 175, 44);
/* oklch */ color: oklch(67.7% 0.180 136.1);
Tailwind
colors: {
  custom: {
    50: '#93c76e',
    500: '#5faf2c',
    950: '#000000',
  },
}
SCSS
$custom: #5faf2c;
$custom-light: #93c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf2c",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 44
  },
  "hsl": {
    "h": 96.641,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6774,
    "c": 0.18025,
    "h": 136.1
  },
  "luminance": 0.33275
}

Semantic roles & 50–950 ramp

primary
#5FAF2C
secondary
#A572C5
accent
#45E3A5
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF2C

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

Preview Lab → · Contrast checker → · Palette generator →

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