#5F5F0E#5F5F0E

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

Color values

HEX#5F5F0E
RGBrgb(95, 95, 14)
HSLhsl(60, 74%, 21%)
HSVhsv(60, 85%, 37%)
CMYKcmyk(0%, 0%, 85.3%, 62.7%)
CIE-LABlab(38.98, -10.02, 42.01)
CIE-LCHlch(38.98, 43.19, 103.42°)
OKLaboklab(47.06% -0.0324 0.091)
OKLCHoklch(47.06% 0.097 109.6)
XYZxyz(8.8911, 10.6493, 2.0025)
Luminance0.1065 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5F0E #0E0E5F
analogous
#5F370E #5F5F0E #375F0E
triadic
#5F5F0E #0E5F5F #5F0E5F
tetradic
#5F5F0E #0E5F37 #0E0E5F #5F0E37
square
#5F5F0E #0E5F37 #0E0E5F #5F0E37
split-complementary
#5F5F0E #0E375F #370E5F
monochromatic
#1B1B04 #2A2A06 #5F5F0E #949416 #CACA1E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5f5f0e;
/* rgb */ color: rgb(95, 95, 14);
/* oklch */ color: oklch(47.1% 0.097 109.6);
Tailwind
colors: {
  custom: {
    50: '#8f8c56',
    500: '#5f5f0e',
    950: '#000000',
  },
}
SCSS
$custom: #5f5f0e;
$custom-light: #8f8c56;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5f0e",
  "rgb": {
    "r": 95,
    "g": 95,
    "b": 14
  },
  "hsl": {
    "h": 60,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.47056,
    "c": 0.09656,
    "h": 109.6
  },
  "luminance": 0.10649
}

Semantic roles & 50–950 ramp

primary
#5F5F0E
secondary
#303099
accent
#37F137
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F5F0E

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

Preview Lab → · Contrast checker → · Palette generator →

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