#5F7016#5F7016

#5F7016 is a mid, moderate yellow-green. Relative luminance 0.141; OKLCH L 51.4% C 0.112 H 120.2°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#5F7016
RGBrgb(95, 112, 22)
HSLhsl(71, 67%, 26%)
HSVhsv(71, 80%, 44%)
CMYKcmyk(15.2%, 0%, 80.4%, 56.1%)
CIE-LABlab(44.35, -19.00, 44.21)
CIE-LCHlch(44.35, 48.12, 113.25°)
OKLaboklab(51.38% -0.0565 0.0972)
OKLCHoklch(51.38% 0.112 120.2)
XYZxyz(10.6585, 14.0792, 2.9150)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F7016 #271670
analogous
#705416 #5F7016 #327016
triadic
#5F7016 #165F70 #70165F
tetradic
#5F7016 #167054 #271670 #701632
square
#5F7016 #167054 #271670 #701632
split-complementary
#5F7016 #163270 #541670
monochromatic
#161A05 #343D0C #5F7016 #8AA320 #B5D52B

Accessibility & contrast

On white

5.50
#5F7016 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#5F7016 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F7016
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F7016#FFFFFF#000000##FFFFFF
##5F70161.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786901
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#656A5F
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #5f7016;
/* rgb */ color: rgb(95, 112, 22);
/* oklch */ color: oklch(51.4% 0.112 120.2);
Tailwind
colors: {
  custom: {
    50: '#8f995c',
    500: '#5f7016',
    950: '#000000',
  },
}
SCSS
$custom: #5f7016;
$custom-light: #8f995c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f7016",
  "rgb": {
    "r": 95,
    "g": 112,
    "b": 22
  },
  "hsl": {
    "h": 71.333,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.51375,
    "c": 0.11245,
    "h": 120.2
  },
  "luminance": 0.14079
}

Semantic roles & 50–950 ramp

primary
#5F7016
secondary
#503CA6
accent
#3EEA5E
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F7016

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

Preview Lab → · Contrast checker → · Palette generator →

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