#5F5C10#5F5C10

#5F5C10 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.3% C 0.092 H 107.1°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#5F5C10
RGBrgb(95, 92, 16)
HSLhsl(58, 71%, 22%)
HSVhsv(58, 83%, 37%)
CMYKcmyk(0%, 3.2%, 83.2%, 62.7%)
CIE-LABlab(38.07, -8.22, 40.54)
CIE-LCHlch(38.07, 41.37, 101.47°)
OKLaboklab(46.33% -0.0272 0.0882)
OKLCHoklch(46.33% 0.092 107.1)
XYZxyz(8.6403, 10.1249, 1.9893)
Luminance0.1013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5C10 #10135F
analogous
#5F3510 #5F5C10 #3B5F10
triadic
#5F5C10 #105F5C #5C105F
tetradic
#5F5C10 #105F35 #10135F #5F103B
square
#5F5C10 #105F35 #10135F #5F103B
split-complementary
#5F5C10 #103B5F #35105F
monochromatic
#1A1904 #2B2907 #5F5C10 #938F19 #C8C122

Accessibility & contrast

On white

6.94
#5F5C10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#5F5C10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F5C10
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5C10#FFFFFF#000000##FFFFFF
##5F5C101.006.943.036.94
#FFFFFF6.941.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655800
Deuteranopia (green-blind)
#665B16
Tritanopia (blue-blind)
#67554E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5f5c10;
/* rgb */ color: rgb(95, 92, 16);
/* oklch */ color: oklch(46.3% 0.092 107.1);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5f5c10',
    950: '#000000',
  },
}
SCSS
$custom: #5f5c10;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5c10",
  "rgb": {
    "r": 95,
    "g": 92,
    "b": 16
  },
  "hsl": {
    "h": 57.722,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46327,
    "c": 0.09234,
    "h": 107.1
  },
  "luminance": 0.10125
}

Semantic roles & 50–950 ramp

primary
#5F5C10
secondary
#333798
accent
#41EE3A
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5C10

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

Preview Lab → · Contrast checker → · Palette generator →

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