#5F5F10#5F5F10

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

Color values

HEX#5F5F10
RGBrgb(95, 95, 16)
HSLhsl(60, 71%, 22%)
HSVhsv(60, 83%, 37%)
CMYKcmyk(0%, 0%, 83.2%, 62.7%)
CIE-LABlab(38.99, -9.94, 41.37)
CIE-LCHlch(38.99, 42.55, 103.52°)
OKLaboklab(47.07% -0.032 0.09)
OKLCHoklch(47.07% 0.096 109.6)
XYZxyz(8.9054, 10.6550, 2.0776)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5F10 #10105F
analogous
#5F3810 #5F5F10 #385F10
triadic
#5F5F10 #105F5F #5F105F
tetradic
#5F5F10 #105F38 #10105F #5F1038
square
#5F5F10 #105F38 #10105F #5F1038
split-complementary
#5F5F10 #10385F #38105F
monochromatic
#1A1A04 #2B2B07 #5F5F10 #939319 #C8C822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F5F10#FFFFFF#000000##FFFFFF
##5F5F101.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)
#685D17
Tritanopia (blue-blind)
#665850
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5f5f10;
/* rgb */ color: rgb(95, 95, 16);
/* oklch */ color: oklch(47.1% 0.096 109.6);
Tailwind
colors: {
  custom: {
    50: '#8f8c56',
    500: '#5f5f10',
    950: '#000000',
  },
}
SCSS
$custom: #5f5f10;
$custom-light: #8f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5f10",
  "rgb": {
    "r": 95,
    "g": 95,
    "b": 16
  },
  "hsl": {
    "h": 60,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.47067,
    "c": 0.09553,
    "h": 109.6
  },
  "luminance": 0.10655
}

Semantic roles & 50–950 ramp

primary
#5F5F10
secondary
#333398
accent
#3AEE3A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F5F10

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

Preview Lab → · Contrast checker → · Palette generator →

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