#5FAF2B#5FAF2B

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

Color values

HEX#5FAF2B
RGBrgb(95, 175, 43)
HSLhsl(96, 61%, 43%)
HSVhsv(96, 75%, 69%)
CMYKcmyk(45.7%, 0%, 75.4%, 31.4%)
CIE-LABlab(64.38, -46.67, 56.14)
CIE-LCHlch(64.38, 73.00, 129.74°)
OKLaboklab(67.73% -0.13 0.1257)
OKLCHoklch(67.73% 0.181 136)
XYZxyz(20.4848, 33.2660, 7.6266)
Luminance0.3327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF2B #7B2BAF
analogous
#A1AF2B #5FAF2B #2BAF39
triadic
#5FAF2B #2B5FAF #AF2B5F
tetradic
#5FAF2B #2BA1AF #7B2BAF #AF392B
square
#5FAF2B #2BA1AF #7B2BAF #AF392B
split-complementary
#5FAF2B #392BAF #AF2BA1
monochromatic
#2A4D13 #447E1F #5FAF2B #7DD146 #9FDE77

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5FAF2B#FFFFFF#000000##000000
##5FAF2B1.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)
#B5A00E
Deuteranopia (green-blind)
#AB9A39
Tritanopia (blue-blind)
#5CA896
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf2b;
/* rgb */ color: rgb(95, 175, 43);
/* oklch */ color: oklch(67.7% 0.181 136.0);
Tailwind
colors: {
  custom: {
    50: '#93c76e',
    500: '#5faf2b',
    950: '#000000',
  },
}
SCSS
$custom: #5faf2b;
$custom-light: #93c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf2b",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 43
  },
  "hsl": {
    "h": 96.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.67733,
    "c": 0.18082,
    "h": 136
  },
  "luminance": 0.33267
}

Semantic roles & 50–950 ramp

primary
#5FAF2B
secondary
#A470C5
accent
#44E4A5
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1308
muted
#7E827B

Preview Lab

Preview with #5FAF2B

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

Preview Lab → · Contrast checker → · Palette generator →

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