#5F8016#5F8016

#5F8016 is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.5% C 0.133 H 126.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#5F8016
RGBrgb(95, 128, 22)
HSLhsl(79, 71%, 29%)
HSVhsv(79, 83%, 50%)
CMYKcmyk(25.8%, 0%, 82.8%, 49.8%)
CIE-LABlab(49.41, -27.11, 48.84)
CIE-LCHlch(49.41, 55.86, 119.03°)
OKLaboklab(55.47% -0.0786 0.107)
OKLCHoklch(55.47% 0.133 126.3)
XYZxyz(12.5834, 17.9289, 3.5566)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8016 #371680
analogous
#806C16 #5F8016 #2A8016
triadic
#5F8016 #165F80 #80165F
tetradic
#5F8016 #16806C #371680 #80162A
square
#5F8016 #16806C #371680 #80162A
split-complementary
#5F8016 #162A80 #6C1680
monochromatic
#131A04 #384C0D #5F8016 #86B41F #A8DC34

Accessibility & contrast

On white

4.58
#5F8016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#5F8016 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8016
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8016#FFFFFF#000000##000000
##5F80161.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#877700
Deuteranopia (green-blind)
#837522
Tritanopia (blue-blind)
#637A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5f8016;
/* rgb */ color: rgb(95, 128, 22);
/* oklch */ color: oklch(55.5% 0.133 126.3);
Tailwind
colors: {
  custom: {
    50: '#90a55e',
    500: '#5f8016',
    950: '#000000',
  },
}
SCSS
$custom: #5f8016;
$custom-light: #90a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8016",
  "rgb": {
    "r": 95,
    "g": 128,
    "b": 22
  },
  "hsl": {
    "h": 78.679,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.55472,
    "c": 0.1328,
    "h": 126.3
  },
  "luminance": 0.17929
}

Semantic roles & 50–950 ramp

primary
#5F8016
secondary
#623DB5
accent
#3AED72
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8016

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

Preview Lab → · Contrast checker → · Palette generator →

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