#5B5E10#5B5E10

#5B5E10 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.4% C 0.095 H 111.9°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#5B5E10
RGBrgb(91, 94, 16)
HSLhsl(62, 71%, 22%)
HSVhsv(62, 83%, 37%)
CMYKcmyk(3.2%, 0%, 83%, 63.1%)
CIE-LABlab(38.32, -11.32, 40.63)
CIE-LCHlch(38.32, 42.18, 105.56°)
OKLaboklab(46.44% -0.0356 0.0886)
OKLCHoklch(46.44% 0.095 111.9)
XYZxyz(8.4109, 10.2672, 2.0288)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B5E10 #13105E
analogous
#5E3A10 #5B5E10 #345E10
triadic
#5B5E10 #105B5E #5E105B
tetradic
#5B5E10 #105E3A #13105E #5E1034
square
#5B5E10 #105E3A #13105E #5E1034
split-complementary
#5B5E10 #10345E #3A105E
monochromatic
#191A04 #282A07 #5B5E10 #8E9219 #C0C722

Accessibility & contrast

On white

6.88
#5B5E10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5B5E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B5E10
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B5E10#FFFFFF#000000##FFFFFF
##5B5E101.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665900
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#625850
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5b5e10;
/* rgb */ color: rgb(91, 94, 16);
/* oklch */ color: oklch(46.4% 0.095 111.9);
Tailwind
colors: {
  custom: {
    50: '#8c8b56',
    500: '#5b5e10',
    950: '#000000',
  },
}
SCSS
$custom: #5b5e10;
$custom-light: #8c8b56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b5e10",
  "rgb": {
    "r": 91,
    "g": 94,
    "b": 16
  },
  "hsl": {
    "h": 62.308,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.46438,
    "c": 0.09549,
    "h": 111.9
  },
  "luminance": 0.10267
}

Semantic roles & 50–950 ramp

primary
#5B5E10
secondary
#373397
accent
#3AEE41
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B5E10

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

Preview Lab → · Contrast checker → · Palette generator →

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