#5F7616#5F7616

#5F7616 is a mid, vivid yellow-green. Relative luminance 0.154; OKLCH L 52.9% C 0.120 H 122.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5F7616
RGBrgb(95, 118, 22)
HSLhsl(74, 69%, 27%)
HSVhsv(74, 81%, 46%)
CMYKcmyk(19.5%, 0%, 81.4%, 53.7%)
CIE-LABlab(46.24, -22.11, 45.96)
CIE-LCHlch(46.24, 51.00, 115.69°)
OKLaboklab(52.91% -0.065 0.1009)
OKLCHoklch(52.91% 0.12 122.8)
XYZxyz(11.3427, 15.4476, 3.1430)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7616 #2D1676
analogous
#765D16 #5F7616 #2F7616
triadic
#5F7616 #165F76 #76165F
tetradic
#5F7616 #16765D #2D1676 #76162F
square
#5F7616 #16765D #2D1676 #76162F
split-complementary
#5F7616 #162F76 #5D1676
monochromatic
#151A05 #35420C #5F7616 #89AA20 #AFD82E

Accessibility & contrast

On white

5.13
#5F7616 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#5F7616 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7616
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7616#FFFFFF#000000##FFFFFF
##5F76161.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#7A6D20
Tritanopia (blue-blind)
#647064
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5f7616;
/* rgb */ color: rgb(95, 118, 22);
/* oklch */ color: oklch(52.9% 0.120 122.8);
Tailwind
colors: {
  custom: {
    50: '#909d5d',
    500: '#5f7616',
    950: '#000000',
  },
}
SCSS
$custom: #5f7616;
$custom-light: #909d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7616",
  "rgb": {
    "r": 95,
    "g": 118,
    "b": 22
  },
  "hsl": {
    "h": 74.375,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.52905,
    "c": 0.12006,
    "h": 122.8
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#5F7616
secondary
#573CAC
accent
#3CEB66
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7616

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

Preview Lab → · Contrast checker → · Palette generator →

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