#5F7416#5F7416

#5F7416 is a mid, moderate yellow-green. Relative luminance 0.150; OKLCH L 52.4% C 0.118 H 122.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#5F7416
RGBrgb(95, 116, 22)
HSLhsl(73, 68%, 27%)
HSVhsv(73, 81%, 45%)
CMYKcmyk(18.1%, 0%, 81%, 54.5%)
CIE-LABlab(45.61, -21.09, 45.38)
CIE-LCHlch(45.61, 50.04, 114.92°)
OKLaboklab(52.39% -0.0622 0.0997)
OKLCHoklch(52.39% 0.118 122)
XYZxyz(11.1097, 14.9816, 3.0654)
Luminance0.1498 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7416 #2B1674
analogous
#745A16 #5F7416 #307416
triadic
#5F7416 #165F74 #74165F
tetradic
#5F7416 #16745A #2B1674 #741630
square
#5F7416 #16745A #2B1674 #741630
split-complementary
#5F7416 #163074 #5A1674
monochromatic
#151A05 #35410C #5F7416 #89A720 #B1D72D

Accessibility & contrast

On white

5.25
#5F7416 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#5F7416 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7416
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7416#FFFFFF#000000##FFFFFF
##5F74161.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#656E63
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #5f7416;
/* rgb */ color: rgb(95, 116, 22);
/* oklch */ color: oklch(52.4% 0.118 122.0);
Tailwind
colors: {
  custom: {
    50: '#8f9c5c',
    500: '#5f7416',
    950: '#000000',
  },
}
SCSS
$custom: #5f7416;
$custom-light: #8f9c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7416",
  "rgb": {
    "r": 95,
    "g": 116,
    "b": 22
  },
  "hsl": {
    "h": 73.404,
    "s": 68.116,
    "l": 27.059
  },
  "oklch": {
    "l": 0.52394,
    "c": 0.11752,
    "h": 122
  },
  "luminance": 0.14982
}

Semantic roles & 50–950 ramp

primary
#5F7416
secondary
#553CAA
accent
#3DEB64
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7416

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

Preview Lab → · Contrast checker → · Palette generator →

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