#5FA023#5FA023

#5FA023 is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.8% C 0.167 H 133.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5FA023
RGBrgb(95, 160, 35)
HSLhsl(91, 64%, 38%)
HSVhsv(91, 78%, 63%)
CMYKcmyk(40.6%, 0%, 78.1%, 37.3%)
CIE-LABlab(59.61, -40.96, 54.22)
CIE-LCHlch(59.61, 67.96, 127.07°)
OKLaboklab(63.81% -0.1152 0.1205)
OKLCHoklch(63.81% 0.167 133.7)
XYZxyz(17.5932, 27.6950, 6.0084)
Luminance0.2770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5FA023 #6423A0
analogous
#9DA023 #5FA023 #23A025
triadic
#5FA023 #235FA0 #A0235F
tetradic
#5FA023 #239DA0 #6423A0 #A02523
square
#5FA023 #239DA0 #6423A0 #A02523
split-complementary
#5FA023 #2523A0 #A0239D
monochromatic
#233C0D #416E18 #5FA023 #7DD12F #9CDC61

Accessibility & contrast

On white

3.21
#5FA023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.54
#5FA023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5FA023
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5FA023#FFFFFF#000000##000000
##5FA0231.003.216.546.54
#FFFFFF3.211.0021.0021.00
#0000006.5421.001.001.00
##0000006.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79301
Deuteranopia (green-blind)
#9E8E30
Tritanopia (blue-blind)
#5F9989
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5fa023;
/* rgb */ color: rgb(95, 160, 35);
/* oklch */ color: oklch(63.8% 0.167 133.7);
Tailwind
colors: {
  custom: {
    50: '#92bc68',
    500: '#5fa023',
    950: '#000000',
  },
}
SCSS
$custom: #5fa023;
$custom-light: #92bc68;
$custom-dark: #000000;
JSON
{
  "hex": "#5fa023",
  "rgb": {
    "r": 95,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 91.2,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63813,
    "c": 0.16665,
    "h": 133.7
  },
  "luminance": 0.27696
}

Semantic roles & 50–950 ramp

primary
#5FA023
secondary
#915DC1
accent
#41E797
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5FA023

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

Preview Lab → · Contrast checker → · Palette generator →

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