#5F6116#5F6116

#5F6116 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.6% C 0.094 H 111.0°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#5F6116
RGBrgb(95, 97, 22)
HSLhsl(62, 63%, 23%)
HSVhsv(62, 77%, 38%)
CMYKcmyk(2.1%, 0%, 77.3%, 62%)
CIE-LABlab(39.65, -10.80, 39.80)
CIE-LCHlch(39.65, 41.24, 105.18°)
OKLaboklab(47.6% -0.0338 0.0879)
OKLCHoklch(47.6% 0.094 111)
XYZxyz(9.1391, 11.0405, 2.4085)
Luminance0.1104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6116 #181661
analogous
#613D16 #5F6116 #396116
triadic
#5F6116 #165F61 #61165F
tetradic
#5F6116 #16613D #181661 #611639
square
#5F6116 #16613D #181661 #611639
split-complementary
#5F6116 #163961 #3D1661
monochromatic
#181906 #2E2F0B #5F6116 #909321 #C1C52D

Accessibility & contrast

On white

6.55
#5F6116 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5F6116 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6116
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6116#FFFFFF#000000##FFFFFF
##5F61161.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C07
Deuteranopia (green-blind)
#6A5E1C
Tritanopia (blue-blind)
#665B53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5f6116;
/* rgb */ color: rgb(95, 97, 22);
/* oklch */ color: oklch(47.6% 0.094 111.0);
Tailwind
colors: {
  custom: {
    50: '#8f8d5a',
    500: '#5f6116',
    950: '#000000',
  },
}
SCSS
$custom: #5f6116;
$custom-light: #8f8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6116",
  "rgb": {
    "r": 95,
    "g": 97,
    "b": 22
  },
  "hsl": {
    "h": 61.6,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.47602,
    "c": 0.09417,
    "h": 111
  },
  "luminance": 0.1104
}

Semantic roles & 50–950 ramp

primary
#5F6116
secondary
#3D3B98
accent
#42E646
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6116

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

Preview Lab → · Contrast checker → · Palette generator →

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