#5F9D23#5F9D23

#5F9D23 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.163 H 133.3°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#5F9D23
RGBrgb(95, 157, 35)
HSLhsl(90, 64%, 38%)
HSVhsv(90, 78%, 62%)
CMYKcmyk(39.5%, 0%, 77.7%, 38.4%)
CIE-LABlab(58.67, -39.68, 53.32)
CIE-LCHlch(58.67, 66.47, 126.66°)
OKLaboklab(63.04% -0.1117 0.1186)
OKLCHoklch(63.04% 0.163 133.3)
XYZxyz(17.0794, 26.6674, 5.8372)
Luminance0.2667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9D23 #61239D
analogous
#9C9D23 #5F9D23 #239D24
triadic
#5F9D23 #235F9D #9D235F
tetradic
#5F9D23 #239C9D #61239D #9D2423
square
#5F9D23 #239C9D #61239D #9D2423
split-complementary
#5F9D23 #24239D #9D239C
monochromatic
#22390D #416B18 #5F9D23 #7DCF2E #9CDB5F

Accessibility & contrast

On white

3.32
#5F9D23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#5F9D23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9D23
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9D23#FFFFFF#000000##000000
##5F9D231.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49003
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#5F9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5f9d23;
/* rgb */ color: rgb(95, 157, 35);
/* oklch */ color: oklch(63.0% 0.163 133.3);
Tailwind
colors: {
  custom: {
    50: '#92ba68',
    500: '#5f9d23',
    950: '#000000',
  },
}
SCSS
$custom: #5f9d23;
$custom-light: #92ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9d23",
  "rgb": {
    "r": 95,
    "g": 157,
    "b": 35
  },
  "hsl": {
    "h": 90.492,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63038,
    "c": 0.1629,
    "h": 133.3
  },
  "luminance": 0.26668
}

Semantic roles & 50–950 ramp

primary
#5F9D23
secondary
#8F5CC0
accent
#41E795
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F9D23

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

Preview Lab → · Contrast checker → · Palette generator →

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