#5FAC23#5FAC23

#5FAC23 is a light, vivid yellow-green. Relative luminance 0.321; OKLCH L 66.9% C 0.181 H 135.1°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#5FAC23
RGBrgb(95, 172, 35)
HSLhsl(94, 66%, 41%)
HSVhsv(94, 80%, 67%)
CMYKcmyk(44.8%, 0%, 79.7%, 32.5%)
CIE-LABlab(63.39, -45.93, 57.78)
CIE-LCHlch(63.39, 73.81, 128.48°)
OKLaboklab(66.91% -0.1285 0.1279)
OKLCHoklch(66.91% 0.181 135.1)
XYZxyz(19.7748, 32.0581, 6.7356)
Luminance0.3206 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAC23 #7023AC
analogous
#A3AC23 #5FAC23 #23AC2C
triadic
#5FAC23 #235FAC #AC235F
tetradic
#5FAC23 #23A3AC #7023AC #AC2C23
square
#5FAC23 #23A3AC #7023AC #AC2C23
split-complementary
#5FAC23 #2C23AC #AC23A3
monochromatic
#27460E #437919 #5FAC23 #7CD636 #9DE069

Accessibility & contrast

On white

2.83
#5FAC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#5FAC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAC23
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAC23#FFFFFF#000000##000000
##5FAC231.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39D00
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#5DA593
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #5fac23;
/* rgb */ color: rgb(95, 172, 35);
/* oklch */ color: oklch(66.9% 0.181 135.1);
Tailwind
colors: {
  custom: {
    50: '#93c56a',
    500: '#5fac23',
    950: '#000000',
  },
}
SCSS
$custom: #5fac23;
$custom-light: #93c56a;
$custom-dark: #000000;
JSON
{
  "hex": "#5fac23",
  "rgb": {
    "r": 95,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 93.723,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66911,
    "c": 0.18134,
    "h": 135.1
  },
  "luminance": 0.32059
}

Semantic roles & 50–950 ramp

primary
#5FAC23
secondary
#9B64C6
accent
#3FE99E
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAC23

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

Preview Lab → · Contrast checker → · Palette generator →

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