#5F8116#5F8116

#5F8116 is a mid, vivid yellow-green. Relative luminance 0.182; OKLCH L 55.7% C 0.134 H 126.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#5F8116
RGBrgb(95, 129, 22)
HSLhsl(79, 71%, 30%)
HSVhsv(79, 83%, 51%)
CMYKcmyk(26.4%, 0%, 82.9%, 49.4%)
CIE-LABlab(49.73, -27.59, 49.13)
CIE-LCHlch(49.73, 56.35, 119.32°)
OKLaboklab(55.73% -0.0799 0.1076)
OKLCHoklch(55.73% 0.134 126.6)
XYZxyz(12.7145, 18.1911, 3.6003)
Luminance0.1819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8116 #381681
analogous
#816D16 #5F8116 #2A8116
triadic
#5F8116 #165F81 #81165F
tetradic
#5F8116 #16816D #381681 #81162A
square
#5F8116 #16816D #381681 #81162A
split-complementary
#5F8116 #162A81 #6D1681
monochromatic
#131A04 #384D0D #5F8116 #86B51F #A7DD35

Accessibility & contrast

On white

4.53
#5F8116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#5F8116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8116
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8116#FFFFFF#000000##000000
##5F81161.004.534.644.64
#FFFFFF4.531.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#887800
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#637B6E
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #5f8116;
/* rgb */ color: rgb(95, 129, 22);
/* oklch */ color: oklch(55.7% 0.134 126.6);
Tailwind
colors: {
  custom: {
    50: '#90a55e',
    500: '#5f8116',
    950: '#000000',
  },
}
SCSS
$custom: #5f8116;
$custom-light: #90a55e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8116",
  "rgb": {
    "r": 95,
    "g": 129,
    "b": 22
  },
  "hsl": {
    "h": 79.065,
    "s": 70.861,
    "l": 29.608
  },
  "oklch": {
    "l": 0.55729,
    "c": 0.13406,
    "h": 126.6
  },
  "luminance": 0.18191
}

Semantic roles & 50–950 ramp

primary
#5F8116
secondary
#633DB6
accent
#3AEE73
background
#F9FAF5
surface
#F1F4EA
border
#CBCEC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5F8116

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

Preview Lab → · Contrast checker → · Palette generator →

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