#5F8916#5F8916

#5F8916 is a mid, vivid yellow-green. Relative luminance 0.204; OKLCH L 57.8% C 0.144 H 128.7°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5F8916
RGBrgb(95, 137, 22)
HSLhsl(82, 72%, 31%)
HSVhsv(82, 84%, 54%)
CMYKcmyk(30.7%, 0%, 83.9%, 46.3%)
CIE-LABlab(52.27, -31.39, 51.41)
CIE-LCHlch(52.27, 60.23, 121.41°)
OKLaboklab(57.79% -0.0902 0.1125)
OKLCHoklch(57.79% 0.144 128.7)
XYZxyz(13.8098, 20.3818, 3.9654)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8916 #401689
analogous
#897916 #5F8916 #258916
triadic
#5F8916 #165F89 #89165F
tetradic
#5F8916 #168979 #401689 #891625
square
#5F8916 #168979 #401689 #891625
split-complementary
#5F8916 #162589 #791689
monochromatic
#162005 #3A540E #5F8916 #84BE1E #A3DF3A

Accessibility & contrast

On white

4.14
#5F8916 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#5F8916 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8916
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8916#FFFFFF#000000##000000
##5F89161.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F00
Deuteranopia (green-blind)
#8A7C23
Tritanopia (blue-blind)
#628274
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5f8916;
/* rgb */ color: rgb(95, 137, 22);
/* oklch */ color: oklch(57.8% 0.144 128.7);
Tailwind
colors: {
  custom: {
    50: '#91ab5f',
    500: '#5f8916',
    950: '#000000',
  },
}
SCSS
$custom: #5f8916;
$custom-light: #91ab5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8916",
  "rgb": {
    "r": 95,
    "g": 137,
    "b": 22
  },
  "hsl": {
    "h": 81.913,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57794,
    "c": 0.14418,
    "h": 128.7
  },
  "luminance": 0.20382
}

Semantic roles & 50–950 ramp

primary
#5F8916
secondary
#6C3EBD
accent
#39EF7B
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D1005
muted
#7E7F79

Preview Lab

Preview with #5F8916

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

Preview Lab → · Contrast checker → · Palette generator →

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