#5F7516#5F7516

#5F7516 is a mid, moderate yellow-green. Relative luminance 0.152; OKLCH L 52.6% C 0.119 H 122.4°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5F7516
RGBrgb(95, 117, 22)
HSLhsl(74, 68%, 27%)
HSVhsv(74, 81%, 46%)
CMYKcmyk(18.8%, 0%, 81.2%, 54.1%)
CIE-LABlab(45.93, -21.60, 45.67)
CIE-LCHlch(45.93, 50.52, 115.31°)
OKLaboklab(52.65% -0.0636 0.1003)
OKLCHoklch(52.65% 0.119 122.4)
XYZxyz(11.2256, 15.2134, 3.1040)
Luminance0.1521 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7516 #2C1675
analogous
#755C16 #5F7516 #2F7516
triadic
#5F7516 #165F75 #75165F
tetradic
#5F7516 #16755C #2C1675 #75162F
square
#5F7516 #16755C #2C1675 #75162F
split-complementary
#5F7516 #162F75 #5C1675
monochromatic
#151A05 #35410C #5F7516 #89A920 #B0D82E

Accessibility & contrast

On white

5.19
#5F7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#5F7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7516
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7516#FFFFFF#000000##FFFFFF
##5F75161.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D00
Deuteranopia (green-blind)
#7A6D1F
Tritanopia (blue-blind)
#646F63
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #5f7516;
/* rgb */ color: rgb(95, 117, 22);
/* oklch */ color: oklch(52.6% 0.119 122.4);
Tailwind
colors: {
  custom: {
    50: '#909c5c',
    500: '#5f7516',
    950: '#000000',
  },
}
SCSS
$custom: #5f7516;
$custom-light: #909c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7516",
  "rgb": {
    "r": 95,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 73.895,
    "s": 68.345,
    "l": 27.255
  },
  "oklch": {
    "l": 0.52649,
    "c": 0.11878,
    "h": 122.4
  },
  "luminance": 0.15213
}

Semantic roles & 50–950 ramp

primary
#5F7516
secondary
#563CAB
accent
#3DEB65
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7516

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

Preview Lab → · Contrast checker → · Palette generator →

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