#5E5D18#5E5D18

#5E5D18 is a mid, moderate yellow. Relative luminance 0.103; OKLCH L 46.5% C 0.088 H 108.6°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#5E5D18
RGBrgb(94, 93, 24)
HSLhsl(59, 59%, 23%)
HSVhsv(59, 74%, 37%)
CMYKcmyk(0%, 1.1%, 74.5%, 63.1%)
CIE-LABlab(38.33, -8.89, 37.68)
CIE-LCHlch(38.33, 38.72, 103.27°)
OKLaboklab(46.53% -0.0282 0.0839)
OKLCHoklch(46.53% 0.088 108.6)
XYZxyz(8.6956, 10.2746, 2.3891)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5D18 #18195E
analogous
#5E3A18 #5E5D18 #3C5E18
triadic
#5E5D18 #185E5D #5D185E
tetradic
#5E5D18 #185E3A #18195E #5E183C
square
#5E5D18 #185E3A #18195E #5E183C
split-complementary
#5E5D18 #183C5E #3A185E
monochromatic
#181806 #2D2D0C #5E5D18 #8F8D24 #C0BD31

Accessibility & contrast

On white

6.87
#5E5D18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#5E5D18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5D18
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5D18#FFFFFF#000000##FFFFFF
##5E5D181.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590D
Deuteranopia (green-blind)
#665B1D
Tritanopia (blue-blind)
#65574F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #5e5d18;
/* rgb */ color: rgb(94, 93, 24);
/* oklch */ color: oklch(46.5% 0.088 108.6);
Tailwind
colors: {
  custom: {
    50: '#8e8a5a',
    500: '#5e5d18',
    950: '#000000',
  },
}
SCSS
$custom: #5e5d18;
$custom-light: #8e8a5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5d18",
  "rgb": {
    "r": 94,
    "g": 93,
    "b": 24
  },
  "hsl": {
    "h": 59.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46531,
    "c": 0.08846,
    "h": 108.6
  },
  "luminance": 0.10274
}

Semantic roles & 50–950 ramp

primary
#5E5D18
secondary
#3D3F94
accent
#48E345
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E5D18

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

Preview Lab → · Contrast checker → · Palette generator →

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