#5B5D14#5B5D14

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

Color values

HEX#5B5D14
RGBrgb(91, 93, 20)
HSLhsl(62, 65%, 22%)
HSVhsv(62, 78%, 36%)
CMYKcmyk(2.2%, 0%, 78.5%, 63.5%)
CIE-LABlab(38.03, -10.56, 38.91)
CIE-LCHlch(38.03, 40.32, 105.18°)
OKLaboklab(46.21% -0.0331 0.0858)
OKLCHoklch(46.21% 0.092 111.1)
XYZxyz(8.3553, 10.1036, 2.1717)
Luminance0.1010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5D14 #16145D
analogous
#5D3B14 #5B5D14 #375D14
triadic
#5B5D14 #145B5D #5D145B
tetradic
#5B5D14 #145D3B #16145D #5D1437
square
#5B5D14 #145D3B #16145D #5D1437
split-complementary
#5B5D14 #14375D #3B145D
monochromatic
#191905 #2A2B09 #5B5D14 #8C8F1F #BEC22A

Accessibility & contrast

On white

6.95
#5B5D14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5B5D14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5D14
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5D14#FFFFFF#000000##FFFFFF
##5B5D141.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655906
Deuteranopia (green-blind)
#655A1A
Tritanopia (blue-blind)
#62574F
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5b5d14;
/* rgb */ color: rgb(91, 93, 20);
/* oklch */ color: oklch(46.2% 0.092 111.1);
Tailwind
colors: {
  custom: {
    50: '#8c8a58',
    500: '#5b5d14',
    950: '#000000',
  },
}
SCSS
$custom: #5b5d14;
$custom-light: #8c8a58;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5d14",
  "rgb": {
    "r": 91,
    "g": 93,
    "b": 20
  },
  "hsl": {
    "h": 61.644,
    "s": 64.602,
    "l": 22.157
  },
  "oklch": {
    "l": 0.46213,
    "c": 0.09193,
    "h": 111.1
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#5B5D14
secondary
#3B3895
accent
#40E845
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0B03
muted
#7D7C78

Preview Lab

Preview with #5B5D14

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

Preview Lab → · Contrast checker → · Palette generator →

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