#5E5E11#5E5E11

#5E5E11 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.094 H 109.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#5E5E11
RGBrgb(94, 94, 17)
HSLhsl(60, 69%, 22%)
HSVhsv(60, 82%, 37%)
CMYKcmyk(0%, 0%, 81.9%, 63.1%)
CIE-LABlab(38.60, -9.82, 40.64)
CIE-LCHlch(38.60, 41.81, 103.58°)
OKLaboklab(46.73% -0.0315 0.0887)
OKLCHoklch(46.73% 0.094 109.6)
XYZxyz(8.7203, 10.4258, 2.0832)
Luminance0.1043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5E11 #11115E
analogous
#5E3811 #5E5E11 #385E11
triadic
#5E5E11 #115E5E #5E115E
tetradic
#5E5E11 #115E38 #11115E #5E1138
square
#5E5E11 #115E38 #11115E #5E1138
split-complementary
#5E5E11 #11385E #38115E
monochromatic
#1A1A05 #2A2A08 #5E5E11 #92921A #C6C624

Accessibility & contrast

On white

6.81
#5E5E11 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#5E5E11 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5E11
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5E11#FFFFFF#000000##FFFFFF
##5E5E111.006.813.096.81
#FFFFFF6.811.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A00
Deuteranopia (green-blind)
#675C18
Tritanopia (blue-blind)
#655750
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e5e11;
/* rgb */ color: rgb(94, 94, 17);
/* oklch */ color: oklch(46.7% 0.094 109.6);
Tailwind
colors: {
  custom: {
    50: '#8f8b57',
    500: '#5e5e11',
    950: '#000000',
  },
}
SCSS
$custom: #5e5e11;
$custom-light: #8f8b57;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5e11",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 17
  },
  "hsl": {
    "h": 60,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.46729,
    "c": 0.09413,
    "h": 109.6
  },
  "luminance": 0.10426
}

Semantic roles & 50–950 ramp

primary
#5E5E11
secondary
#343497
accent
#3CEC3C
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E5E11

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

Preview Lab → · Contrast checker → · Palette generator →

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