#5F9523#5F9523

#5F9523 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.0% C 0.153 H 132.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5F9523
RGBrgb(95, 149, 35)
HSLhsl(88, 62%, 36%)
HSVhsv(88, 77%, 58%)
CMYKcmyk(36.2%, 0%, 76.5%, 41.6%)
CIE-LABlab(56.14, -36.18, 50.89)
CIE-LCHlch(56.14, 62.44, 125.41°)
OKLaboklab(60.97% -0.1023 0.1135)
OKLCHoklch(60.97% 0.153 132)
XYZxyz(15.7700, 24.0485, 5.4007)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9523 #592395
analogous
#959223 #5F9523 #269523
triadic
#5F9523 #235F95 #95235F
tetradic
#5F9523 #239592 #592395 #952326
square
#5F9523 #239592 #592395 #952326
split-complementary
#5F9523 #232695 #922395
monochromatic
#20320C #3F6317 #5F9523 #7FC72F #9DD85A

Accessibility & contrast

On white

3.61
#5F9523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5F9523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9523
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9523#FFFFFF#000000##000000
##5F95231.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8909
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#608F7F
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9523;
/* rgb */ color: rgb(95, 149, 35);
/* oklch */ color: oklch(61.0% 0.153 132.0);
Tailwind
colors: {
  custom: {
    50: '#91b467',
    500: '#5f9523',
    950: '#000000',
  },
}
SCSS
$custom: #5f9523;
$custom-light: #91b467;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9523",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 35
  },
  "hsl": {
    "h": 88.421,
    "s": 61.957,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.15275,
    "h": 132
  },
  "luminance": 0.24049
}

Semantic roles & 50–950 ramp

primary
#5F9523
secondary
#8757BD
accent
#43E590
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9523

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

Preview Lab → · Contrast checker → · Palette generator →

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