#5E5C14#5E5C14

#5E5C14 is a mid, moderate yellow. Relative luminance 0.101; OKLCH L 46.3% C 0.090 H 107.8°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#5E5C14
RGBrgb(94, 92, 20)
HSLhsl(58, 65%, 22%)
HSVhsv(58, 79%, 37%)
CMYKcmyk(0%, 2.1%, 78.7%, 63.1%)
CIE-LABlab(37.99, -8.53, 38.98)
CIE-LCHlch(37.99, 39.90, 102.34°)
OKLaboklab(46.25% -0.0276 0.0858)
OKLCHoklch(46.25% 0.09 107.8)
XYZxyz(8.5698, 10.0848, 2.1568)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5C14 #14165E
analogous
#5E3714 #5E5C14 #3B5E14
triadic
#5E5C14 #145E5C #5C145E
tetradic
#5E5C14 #145E37 #14165E #5E143B
square
#5E5C14 #145E37 #14165E #5E143B
split-complementary
#5E5C14 #143B5E #37145E
monochromatic
#191905 #2C2B09 #5E5C14 #908D1F #C3BF29

Accessibility & contrast

On white

6.96
#5E5C14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#5E5C14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E5C14
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5C14#FFFFFF#000000##FFFFFF
##5E5C141.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e5c14;
/* rgb */ color: rgb(94, 92, 20);
/* oklch */ color: oklch(46.3% 0.090 107.8);
Tailwind
colors: {
  custom: {
    50: '#8e8958',
    500: '#5e5c14',
    950: '#000000',
  },
}
SCSS
$custom: #5e5c14;
$custom-light: #8e8958;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5c14",
  "rgb": {
    "r": 94,
    "g": 92,
    "b": 20
  },
  "hsl": {
    "h": 58.378,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46254,
    "c": 0.09012,
    "h": 107.8
  },
  "luminance": 0.10084
}

Semantic roles & 50–950 ramp

primary
#5E5C14
secondary
#383B96
accent
#44E840
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5C14

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

Preview Lab → · Contrast checker → · Palette generator →

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