#5E5B11#5E5B11

#5E5B11 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.0% C 0.091 H 107.1°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#5E5B11
RGBrgb(94, 91, 17)
HSLhsl(58, 69%, 22%)
HSVhsv(58, 82%, 37%)
CMYKcmyk(0%, 3.2%, 81.9%, 63.1%)
CIE-LABlab(37.67, -8.09, 39.79)
CIE-LCHlch(37.67, 40.61, 101.49°)
OKLaboklab(45.99% -0.0267 0.0869)
OKLCHoklch(45.99% 0.091 107.1)
XYZxyz(8.4587, 9.9026, 1.9960)
Luminance0.0990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5B11 #11145E
analogous
#5E3511 #5E5B11 #3B5E11
triadic
#5E5B11 #115E5B #5B115E
tetradic
#5E5B11 #115E35 #11145E #5E113B
square
#5E5B11 #115E35 #11145E #5E113B
split-complementary
#5E5B11 #113B5E #35115E
monochromatic
#1A1905 #2A2908 #5E5B11 #928D1A #C6BF24

Accessibility & contrast

On white

7.05
#5E5B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5E5B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5B11
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5B11#FFFFFF#000000##FFFFFF
##5E5B111.007.052.987.05
#FFFFFF7.051.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635701
Deuteranopia (green-blind)
#655A17
Tritanopia (blue-blind)
#66544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e5b11;
/* rgb */ color: rgb(94, 91, 17);
/* oklch */ color: oklch(46.0% 0.091 107.1);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5e5b11',
    950: '#000000',
  },
}
SCSS
$custom: #5e5b11;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5b11",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 17
  },
  "hsl": {
    "h": 57.662,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45987,
    "c": 0.0909,
    "h": 107.1
  },
  "luminance": 0.09902
}

Semantic roles & 50–950 ramp

primary
#5E5B11
secondary
#343897
accent
#42EC3C
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5B11

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

Preview Lab → · Contrast checker → · Palette generator →

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