#5F7316#5F7316

#5F7316 is a mid, moderate yellow-green. Relative luminance 0.148; OKLCH L 52.1% C 0.116 H 121.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#5F7316
RGBrgb(95, 115, 22)
HSLhsl(73, 68%, 27%)
HSVhsv(73, 81%, 45%)
CMYKcmyk(17.4%, 0%, 80.9%, 54.9%)
CIE-LABlab(45.29, -20.57, 45.09)
CIE-LCHlch(45.29, 49.56, 114.52°)
OKLaboklab(52.14% -0.0608 0.0991)
OKLCHoklch(52.14% 0.116 121.5)
XYZxyz(10.9951, 14.7523, 3.0271)
Luminance0.1475 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7316 #2A1673
analogous
#735916 #5F7316 #317316
triadic
#5F7316 #165F73 #73165F
tetradic
#5F7316 #167359 #2A1673 #731631
square
#5F7316 #167359 #2A1673 #731631
split-complementary
#5F7316 #163173 #591673
monochromatic
#151A05 #35400C #5F7316 #89A620 #B2D72D

Accessibility & contrast

On white

5.32
#5F7316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#5F7316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7316
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7316#FFFFFF#000000##FFFFFF
##5F73161.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6C00
Deuteranopia (green-blind)
#786B1F
Tritanopia (blue-blind)
#656D62
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #5f7316;
/* rgb */ color: rgb(95, 115, 22);
/* oklch */ color: oklch(52.1% 0.116 121.5);
Tailwind
colors: {
  custom: {
    50: '#8f9b5c',
    500: '#5f7316',
    950: '#000000',
  },
}
SCSS
$custom: #5f7316;
$custom-light: #8f9b5c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7316",
  "rgb": {
    "r": 95,
    "g": 115,
    "b": 22
  },
  "hsl": {
    "h": 72.903,
    "s": 67.883,
    "l": 26.863
  },
  "oklch": {
    "l": 0.52139,
    "c": 0.11625,
    "h": 121.5
  },
  "luminance": 0.14752
}

Semantic roles & 50–950 ramp

primary
#5F7316
secondary
#533CA9
accent
#3DEB62
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0E04
muted
#7E7E79

Preview Lab

Preview with #5F7316

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

Preview Lab → · Contrast checker → · Palette generator →

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