#5E5E17#5E5E17

#5E5E17 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.8% C 0.090 H 109.4°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#5E5E17
RGBrgb(94, 94, 23)
HSLhsl(60, 61%, 23%)
HSVhsv(60, 76%, 37%)
CMYKcmyk(0%, 0%, 75.5%, 63.1%)
CIE-LABlab(38.63, -9.52, 38.39)
CIE-LCHlch(38.63, 39.56, 103.92°)
OKLaboklab(46.77% -0.03 0.0852)
OKLCHoklch(46.77% 0.09 109.4)
XYZxyz(8.7738, 10.4472, 2.3648)
Luminance0.1045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5E17 #17175E
analogous
#5E3A17 #5E5E17 #3A5E17
triadic
#5E5E17 #175E5E #5E175E
tetradic
#5E5E17 #175E3A #17175E #5E173A
square
#5E5E17 #175E3A #17175E #5E173A
split-complementary
#5E5E17 #173A5E #3A175E
monochromatic
#191906 #2D2D0B #5E5E17 #8F8F23 #C0C02F

Accessibility & contrast

On white

6.80
#5E5E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E5E17
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5E17#FFFFFF#000000##FFFFFF
##5E5E171.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0B
Deuteranopia (green-blind)
#675C1C
Tritanopia (blue-blind)
#655850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5e5e17;
/* rgb */ color: rgb(94, 94, 23);
/* oklch */ color: oklch(46.8% 0.090 109.4);
Tailwind
colors: {
  custom: {
    50: '#8e8b5a',
    500: '#5e5e17',
    950: '#000000',
  },
}
SCSS
$custom: #5e5e17;
$custom-light: #8e8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5e17",
  "rgb": {
    "r": 94,
    "g": 94,
    "b": 23
  },
  "hsl": {
    "h": 60,
    "s": 60.684,
    "l": 22.941
  },
  "oklch": {
    "l": 0.46771,
    "c": 0.09031,
    "h": 109.4
  },
  "luminance": 0.10447
}

Semantic roles & 50–950 ramp

primary
#5E5E17
secondary
#3C3C95
accent
#44E444
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5E5E17

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

Preview Lab → · Contrast checker → · Palette generator →

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