#5F5B10#5F5B10

#5F5B10 is a mid, moderate yellow. Relative luminance 0.100; OKLCH L 46.1% C 0.091 H 106.3°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#5F5B10
RGBrgb(95, 91, 16)
HSLhsl(57, 71%, 22%)
HSVhsv(57, 83%, 37%)
CMYKcmyk(0%, 4.2%, 83.2%, 62.7%)
CIE-LABlab(37.76, -7.64, 40.26)
CIE-LCHlch(37.76, 40.98, 100.75°)
OKLaboklab(46.08% -0.0256 0.0876)
OKLCHoklch(46.08% 0.091 106.3)
XYZxyz(8.5543, 9.9528, 1.9606)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F5B10 #10145F
analogous
#5F3410 #5F5B10 #3C5F10
triadic
#5F5B10 #105F5B #5B105F
tetradic
#5F5B10 #105F34 #10145F #5F103C
square
#5F5B10 #105F34 #10145F #5F103C
split-complementary
#5F5B10 #103C5F #34105F
monochromatic
#1A1904 #2B2907 #5F5B10 #938D19 #C8BF22

Accessibility & contrast

On white

7.02
#5F5B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#5F5B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F5B10
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F5B10#FFFFFF#000000##FFFFFF
##5F5B101.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645700
Deuteranopia (green-blind)
#655A16
Tritanopia (blue-blind)
#67544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5f5b10;
/* rgb */ color: rgb(95, 91, 16);
/* oklch */ color: oklch(46.1% 0.091 106.3);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5f5b10',
    950: '#000000',
  },
}
SCSS
$custom: #5f5b10;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5f5b10",
  "rgb": {
    "r": 95,
    "g": 91,
    "b": 16
  },
  "hsl": {
    "h": 56.962,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46081,
    "c": 0.0913,
    "h": 106.3
  },
  "luminance": 0.09952
}

Semantic roles & 50–950 ramp

primary
#5F5B10
secondary
#333898
accent
#43EE3A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5F5B10

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

Preview Lab → · Contrast checker → · Palette generator →

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