#5FAF23#5FAF23

#5FAF23 is a light, vivid yellow-green. Relative luminance 0.332; OKLCH L 67.7% C 0.185 H 135.4°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5FAF23
RGBrgb(95, 175, 35)
HSLhsl(94, 67%, 41%)
HSVhsv(94, 80%, 69%)
CMYKcmyk(45.7%, 0%, 80%, 31.4%)
CIE-LABlab(64.33, -47.13, 58.66)
CIE-LCHlch(64.33, 75.25, 128.78°)
OKLaboklab(67.68% -0.1318 0.1298)
OKLCHoklch(67.68% 0.185 135.4)
XYZxyz(20.3522, 33.2129, 6.9281)
Luminance0.3321 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FAF23 #7323AF
analogous
#A5AF23 #5FAF23 #23AF2D
triadic
#5FAF23 #235FAF #AF235F
tetradic
#5FAF23 #23A5AF #7323AF #AF2D23
square
#5FAF23 #23A5AF #7323AF #AF2D23
split-complementary
#5FAF23 #2D23AF #AF23A5
monochromatic
#28490F #437C19 #5FAF23 #7CD738 #9EE16B

Accessibility & contrast

On white

2.75
#5FAF23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#5FAF23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5FAF23
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FAF23#FFFFFF#000000##000000
##5FAF231.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#AB9A33
Tritanopia (blue-blind)
#5CA895
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5faf23;
/* rgb */ color: rgb(95, 175, 35);
/* oklch */ color: oklch(67.7% 0.185 135.4);
Tailwind
colors: {
  custom: {
    50: '#94c76a',
    500: '#5faf23',
    950: '#000000',
  },
}
SCSS
$custom: #5faf23;
$custom-light: #94c76a;
$custom-dark: #000000;
JSON
{
  "hex": "#5faf23",
  "rgb": {
    "r": 95,
    "g": 175,
    "b": 35
  },
  "hsl": {
    "h": 94.286,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.67684,
    "c": 0.18494,
    "h": 135.4
  },
  "luminance": 0.33214
}

Semantic roles & 50–950 ramp

primary
#5FAF23
secondary
#9E66C7
accent
#3EEAA0
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5FAF23

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

Preview Lab → · Contrast checker → · Palette generator →

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