#5E5C11#5E5C11

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

Color values

HEX#5E5C11
RGBrgb(94, 92, 17)
HSLhsl(58, 69%, 22%)
HSVhsv(58, 82%, 37%)
CMYKcmyk(0%, 2.1%, 81.9%, 63.1%)
CIE-LABlab(37.98, -8.67, 40.08)
CIE-LCHlch(37.98, 41.00, 102.20°)
OKLaboklab(46.23% -0.0283 0.0875)
OKLCHoklch(46.23% 0.092 107.9)
XYZxyz(8.5448, 10.0747, 2.0247)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5C11 #11135E
analogous
#5E3611 #5E5C11 #3A5E11
triadic
#5E5C11 #115E5C #5C115E
tetradic
#5E5C11 #115E36 #11135E #5E113A
square
#5E5C11 #115E36 #11135E #5E113A
split-complementary
#5E5C11 #113A5E #36115E
monochromatic
#1A1905 #2A2908 #5E5C11 #928F1A #C6C124

Accessibility & contrast

On white

6.97
#5E5C11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#5E5C11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5C11
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5C11#FFFFFF#000000##FFFFFF
##5E5C111.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645801
Deuteranopia (green-blind)
#665B17
Tritanopia (blue-blind)
#65554E
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e5c11;
/* rgb */ color: rgb(94, 92, 17);
/* oklch */ color: oklch(46.2% 0.092 107.9);
Tailwind
colors: {
  custom: {
    50: '#8f8956',
    500: '#5e5c11',
    950: '#000000',
  },
}
SCSS
$custom: #5e5c11;
$custom-light: #8f8956;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5c11",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 17
  },
  "hsl": {
    "h": 58.442,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46234,
    "c": 0.09196,
    "h": 107.9
  },
  "luminance": 0.10074
}

Semantic roles & 50–950 ramp

primary
#5E5C11
secondary
#343797
accent
#40EC3C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5C11

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

Preview Lab → · Contrast checker → · Palette generator →

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