#5F6711#5F6711

#5F6711 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.104 H 115.1°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#5F6711
RGBrgb(95, 103, 17)
HSLhsl(66, 72%, 24%)
HSVhsv(66, 83%, 40%)
CMYKcmyk(7.8%, 0%, 83.5%, 59.6%)
CIE-LABlab(41.49, -14.38, 43.28)
CIE-LCHlch(41.49, 45.60, 108.38°)
OKLaboklab(49.07% -0.0442 0.0943)
OKLCHoklch(49.07% 0.104 115.1)
XYZxyz(9.6710, 12.1740, 2.3706)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6711 #191167
analogous
#674411 #5F6711 #346711
triadic
#5F6711 #115F67 #67115F
tetradic
#5F6711 #116744 #191167 #671134
square
#5F6711 #116744 #191167 #671134
split-complementary
#5F6711 #113467 #441167
monochromatic
#181A04 #2F3208 #5F6711 #8F9C1A #C0D022

Accessibility & contrast

On white

6.11
#5F6711 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5F6711 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6711
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6711#FFFFFF#000000##FFFFFF
##5F67111.006.113.436.11
#FFFFFF6.111.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6F6319
Tritanopia (blue-blind)
#666057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f6711;
/* rgb */ color: rgb(95, 103, 17);
/* oklch */ color: oklch(49.1% 0.104 115.1);
Tailwind
colors: {
  custom: {
    50: '#8f9258',
    500: '#5f6711',
    950: '#000000',
  },
}
SCSS
$custom: #5f6711;
$custom-light: #8f9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6711",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 17
  },
  "hsl": {
    "h": 65.581,
    "s": 71.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.4907,
    "c": 0.10414,
    "h": 115.1
  },
  "luminance": 0.12174
}

Semantic roles & 50–950 ramp

primary
#5F6711
secondary
#3F359F
accent
#39EE4A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F6711

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

Preview Lab → · Contrast checker → · Palette generator →

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