#5F6611#5F6611

#5F6611 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.103 H 114.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#5F6611
RGBrgb(95, 102, 17)
HSLhsl(65, 71%, 23%)
HSVhsv(65, 83%, 40%)
CMYKcmyk(6.9%, 0%, 83.3%, 60%)
CIE-LABlab(41.18, -13.83, 43.00)
CIE-LCHlch(41.18, 45.17, 107.83°)
OKLaboklab(48.82% -0.0427 0.0937)
OKLCHoklch(48.82% 0.103 114.5)
XYZxyz(9.5722, 11.9763, 2.3376)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6611 #181166
analogous
#664211 #5F6611 #346611
triadic
#5F6611 #115F66 #66115F
tetradic
#5F6611 #116642 #181166 #661134
square
#5F6611 #116642 #181166 #661134
split-complementary
#5F6611 #113466 #421166
monochromatic
#181A04 #2E3208 #5F6611 #909A1A #C1CF22

Accessibility & contrast

On white

6.19
#5F6611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5F6611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6611
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6611#FFFFFF#000000##FFFFFF
##5F66111.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6E6219
Tritanopia (blue-blind)
#665F56
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5f6611;
/* rgb */ color: rgb(95, 102, 17);
/* oklch */ color: oklch(48.8% 0.103 114.5);
Tailwind
colors: {
  custom: {
    50: '#8f9158',
    500: '#5f6611',
    950: '#000000',
  },
}
SCSS
$custom: #5f6611;
$custom-light: #8f9158;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6611",
  "rgb": {
    "r": 95,
    "g": 102,
    "b": 17
  },
  "hsl": {
    "h": 64.941,
    "s": 71.429,
    "l": 23.333
  },
  "oklch": {
    "l": 0.48819,
    "c": 0.10296,
    "h": 114.5
  },
  "luminance": 0.11976
}

Semantic roles & 50–950 ramp

primary
#5F6611
secondary
#3D359E
accent
#3AEE48
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6611

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

Preview Lab → · Contrast checker → · Palette generator →

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