#5E5A11#5E5A11

#5E5A11 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.7% C 0.090 H 106.2°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#5E5A11
RGBrgb(94, 90, 17)
HSLhsl(57, 69%, 22%)
HSVhsv(57, 82%, 37%)
CMYKcmyk(0%, 4.3%, 81.9%, 63.1%)
CIE-LABlab(37.36, -7.51, 39.51)
CIE-LCHlch(37.36, 40.22, 100.76°)
OKLaboklab(45.74% -0.0251 0.0863)
OKLCHoklch(45.74% 0.09 106.2)
XYZxyz(8.3738, 9.7328, 1.9677)
Luminance0.0973 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5A11 #11155E
analogous
#5E3411 #5E5A11 #3C5E11
triadic
#5E5A11 #115E5A #5A115E
tetradic
#5E5A11 #115E34 #11155E #5E113C
square
#5E5A11 #115E34 #11155E #5E113C
split-complementary
#5E5A11 #113C5E #34115E
monochromatic
#1A1905 #2A2808 #5E5A11 #928C1A #C6BD24

Accessibility & contrast

On white

7.13
#5E5A11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#5E5A11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5A11
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5A11#FFFFFF#000000##FFFFFF
##5E5A111.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635602
Deuteranopia (green-blind)
#645917
Tritanopia (blue-blind)
#66534C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e5a11;
/* rgb */ color: rgb(94, 90, 17);
/* oklch */ color: oklch(45.7% 0.090 106.2);
Tailwind
colors: {
  custom: {
    50: '#8f8856',
    500: '#5e5a11',
    950: '#000000',
  },
}
SCSS
$custom: #5e5a11;
$custom-light: #8f8856;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5a11",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 17
  },
  "hsl": {
    "h": 56.883,
    "s": 69.369,
    "l": 21.765
  },
  "oklch": {
    "l": 0.45741,
    "c": 0.08986,
    "h": 106.2
  },
  "luminance": 0.09732
}

Semantic roles & 50–950 ramp

primary
#5E5A11
secondary
#343997
accent
#45EC3C
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5A11

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

Preview Lab → · Contrast checker → · Palette generator →

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