#5F8316#5F8316

#5F8316 is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.2% C 0.137 H 127.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5F8316
RGBrgb(95, 131, 22)
HSLhsl(80, 71%, 30%)
HSVhsv(80, 83%, 51%)
CMYKcmyk(27.5%, 0%, 83.2%, 48.6%)
CIE-LABlab(50.36, -28.56, 49.70)
CIE-LCHlch(50.36, 57.32, 119.88°)
OKLaboklab(56.25% -0.0825 0.1088)
OKLCHoklch(56.25% 0.137 127.2)
XYZxyz(12.9805, 18.7232, 3.6889)
Luminance0.1872 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8316 #3A1683
analogous
#837116 #5F8316 #288316
triadic
#5F8316 #165F83 #83165F
tetradic
#5F8316 #168371 #3A1683 #831628
square
#5F8316 #168371 #3A1683 #831628
split-complementary
#5F8316 #162883 #711683
monochromatic
#131A04 #394F0D #5F8316 #85B71F #A6DD36

Accessibility & contrast

On white

4.43
#5F8316 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#5F8316 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8316
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8316#FFFFFF#000000##000000
##5F83161.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#637D6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #5f8316;
/* rgb */ color: rgb(95, 131, 22);
/* oklch */ color: oklch(56.2% 0.137 127.2);
Tailwind
colors: {
  custom: {
    50: '#90a75e',
    500: '#5f8316',
    950: '#000000',
  },
}
SCSS
$custom: #5f8316;
$custom-light: #90a75e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8316",
  "rgb": {
    "r": 95,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 79.817,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.56245,
    "c": 0.1366,
    "h": 127.2
  },
  "luminance": 0.18723
}

Semantic roles & 50–950 ramp

primary
#5F8316
secondary
#663DB7
accent
#3AEE75
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8316

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

Preview Lab → · Contrast checker → · Palette generator →

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