#5F5F11#5F5F11

#5F5F11 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.095 H 109.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#5F5F11
RGBrgb(95, 95, 17)
HSLhsl(60, 70%, 22%)
HSVhsv(60, 82%, 37%)
CMYKcmyk(0%, 0%, 82.1%, 62.7%)
CIE-LABlab(39.00, -9.90, 41.04)
CIE-LCHlch(39.00, 42.22, 103.57°)
OKLaboklab(47.07% -0.0318 0.0895)
OKLCHoklch(47.07% 0.095 109.6)
XYZxyz(8.9130, 10.6581, 2.1179)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5F11 #11115F
analogous
#5F3811 #5F5F11 #385F11
triadic
#5F5F11 #115F5F #5F115F
tetradic
#5F5F11 #115F38 #11115F #5F1138
square
#5F5F11 #115F38 #11115F #5F1138
split-complementary
#5F5F11 #11385F #38115F
monochromatic
#1A1A05 #2B2B08 #5F5F11 #93931A #C7C724

Accessibility & contrast

On white

6.71
#5F5F11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#5F5F11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5F11
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5F11#FFFFFF#000000##FFFFFF
##5F5F111.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B00
Deuteranopia (green-blind)
#685D18
Tritanopia (blue-blind)
#665851
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f5f11;
/* rgb */ color: rgb(95, 95, 17);
/* oklch */ color: oklch(47.1% 0.095 109.6);
Tailwind
colors: {
  custom: {
    50: '#8f8c57',
    500: '#5f5f11',
    950: '#000000',
  },
}
SCSS
$custom: #5f5f11;
$custom-light: #8f8c57;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5f11",
  "rgb": {
    "r": 95,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.47073,
    "c": 0.09499,
    "h": 109.6
  },
  "luminance": 0.10658
}

Semantic roles & 50–950 ramp

primary
#5F5F11
secondary
#343498
accent
#3BEC3B
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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