#5F8923#5F8923

#5F8923 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.9% C 0.137 H 129.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#5F8923
RGBrgb(95, 137, 35)
HSLhsl(85, 59%, 34%)
HSVhsv(85, 74%, 54%)
CMYKcmyk(30.7%, 0%, 74.5%, 46.3%)
CIE-LABlab(52.34, -30.70, 47.17)
CIE-LCHlch(52.34, 56.28, 123.05°)
OKLaboklab(57.87% -0.0874 0.1057)
OKLCHoklch(57.87% 0.137 129.6)
XYZxyz(13.9683, 20.4452, 4.8001)
Luminance0.2045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8923 #4D2389
analogous
#898023 #5F8923 #2C8923
triadic
#5F8923 #235F89 #89235F
tetradic
#5F8923 #238980 #4D2389 #89232C
square
#5F8923 #238980 #4D2389 #89232C
split-complementary
#5F8923 #232C89 #802389
monochromatic
#1B280A #3D5817 #5F8923 #81BA2F #9ED353

Accessibility & contrast

On white

4.13
#5F8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#5F8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8923
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8923#FFFFFF#000000##000000
##5F89231.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F10
Deuteranopia (green-blind)
#8A7C2C
Tritanopia (blue-blind)
#628375
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f8923;
/* rgb */ color: rgb(95, 137, 35);
/* oklch */ color: oklch(57.9% 0.137 129.6);
Tailwind
colors: {
  custom: {
    50: '#90ab65',
    500: '#5f8923',
    950: '#000000',
  },
}
SCSS
$custom: #5f8923;
$custom-light: #90ab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8923",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 84.706,
    "s": 59.302,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57874,
    "c": 0.13711,
    "h": 129.6
  },
  "luminance": 0.20446
}

Semantic roles & 50–950 ramp

primary
#5F8923
secondary
#7B51B7
accent
#45E286
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8923

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

Preview Lab → · Contrast checker → · Palette generator →

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