#5E5A14#5E5A14

#5E5A14 is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.8% C 0.088 H 106.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#5E5A14
RGBrgb(94, 90, 20)
HSLhsl(57, 65%, 22%)
HSVhsv(57, 79%, 37%)
CMYKcmyk(0%, 4.3%, 78.7%, 63.1%)
CIE-LABlab(37.38, -7.37, 38.40)
CIE-LCHlch(37.38, 39.10, 100.86°)
OKLaboklab(45.76% -0.0243 0.0846)
OKLCHoklch(45.76% 0.088 106.1)
XYZxyz(8.3989, 9.7428, 2.0998)
Luminance0.0974 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5A14 #14185E
analogous
#5E3514 #5E5A14 #3D5E14
triadic
#5E5A14 #145E5A #5A145E
tetradic
#5E5A14 #145E35 #14185E #5E143D
square
#5E5A14 #145E35 #14185E #5E143D
split-complementary
#5E5A14 #143D5E #35145E
monochromatic
#191805 #2C2A09 #5E5A14 #908A1F #C3BB29

Accessibility & contrast

On white

7.12
#5E5A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5E5A14
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5A14#FFFFFF#000000##FFFFFF
##5E5A141.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#645919
Tritanopia (blue-blind)
#65534D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5e5a14;
/* rgb */ color: rgb(94, 90, 20);
/* oklch */ color: oklch(45.8% 0.088 106.1);
Tailwind
colors: {
  custom: {
    50: '#8e8858',
    500: '#5e5a14',
    950: '#000000',
  },
}
SCSS
$custom: #5e5a14;
$custom-light: #8e8858;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5a14",
  "rgb": {
    "r": 94,
    "g": 90,
    "b": 20
  },
  "hsl": {
    "h": 56.757,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45762,
    "c": 0.088,
    "h": 106.1
  },
  "luminance": 0.09743
}

Semantic roles & 50–950 ramp

primary
#5E5A14
secondary
#383D96
accent
#49E840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5A14

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

Preview Lab → · Contrast checker → · Palette generator →

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