#5F9723#5F9723

#5F9723 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.155 H 132.4°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5F9723
RGBrgb(95, 151, 35)
HSLhsl(89, 62%, 36%)
HSVhsv(89, 77%, 59%)
CMYKcmyk(37.1%, 0%, 76.8%, 40.8%)
CIE-LABlab(56.77, -37.07, 51.50)
CIE-LCHlch(56.77, 63.45, 125.75°)
OKLaboklab(61.49% -0.1047 0.1148)
OKLCHoklch(61.49% 0.155 132.4)
XYZxyz(16.0891, 24.6868, 5.5071)
Luminance0.2469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9723 #5B2397
analogous
#979523 #5F9723 #259723
triadic
#5F9723 #235F97 #97235F
tetradic
#5F9723 #239795 #5B2397 #972325
square
#5F9723 #239795 #5B2397 #972325
split-complementary
#5F9723 #232597 #952397
monochromatic
#20340C #406517 #5F9723 #7EC92F #9CD95B

Accessibility & contrast

On white

3.54
#5F9723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#5F9723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9723
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9723#FFFFFF#000000##000000
##5F97231.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B08
Deuteranopia (green-blind)
#96872F
Tritanopia (blue-blind)
#609181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9723;
/* rgb */ color: rgb(95, 151, 35);
/* oklch */ color: oklch(61.5% 0.155 132.4);
Tailwind
colors: {
  custom: {
    50: '#91b667',
    500: '#5f9723',
    950: '#000000',
  },
}
SCSS
$custom: #5f9723;
$custom-light: #91b667;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9723",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 35
  },
  "hsl": {
    "h": 88.966,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61487,
    "c": 0.15531,
    "h": 132.4
  },
  "luminance": 0.24687
}

Semantic roles & 50–950 ramp

primary
#5F9723
secondary
#8958BE
accent
#42E591
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9723

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

Preview Lab → · Contrast checker → · Palette generator →

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