#5E5B14#5E5B14

#5E5B14 is a mid, moderate yellow. Relative luminance 0.099; OKLCH L 46.0% C 0.089 H 107.0°. Best body text is #FFFFFF at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#5E5B14
RGBrgb(94, 91, 20)
HSLhsl(58, 65%, 22%)
HSVhsv(58, 79%, 37%)
CMYKcmyk(0%, 3.2%, 78.7%, 63.1%)
CIE-LABlab(37.69, -7.95, 38.69)
CIE-LCHlch(37.69, 39.50, 101.61°)
OKLaboklab(46.01% -0.026 0.0852)
OKLCHoklch(46.01% 0.089 107)
XYZxyz(8.4838, 9.9127, 2.1281)
Luminance0.0991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5B14 #14175E
analogous
#5E3614 #5E5B14 #3C5E14
triadic
#5E5B14 #145E5B #5B145E
tetradic
#5E5B14 #145E36 #14175E #5E143C
square
#5E5B14 #145E36 #14175E #5E143C
split-complementary
#5E5B14 #143C5E #36145E
monochromatic
#191805 #2C2A09 #5E5B14 #908C1F #C3BD29

Accessibility & contrast

On white

7.04
#5E5B14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.98
#5E5B14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5B14
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5B14#FFFFFF#000000##FFFFFF
##5E5B141.007.042.987.04
#FFFFFF7.041.0021.001.00
#0000002.9821.001.0021.00
##FFFFFF7.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635706
Deuteranopia (green-blind)
#655A19
Tritanopia (blue-blind)
#65544D
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #5e5b14;
/* rgb */ color: rgb(94, 91, 20);
/* oklch */ color: oklch(46.0% 0.089 107.0);
Tailwind
colors: {
  custom: {
    50: '#8e8958',
    500: '#5e5b14',
    950: '#000000',
  },
}
SCSS
$custom: #5e5b14;
$custom-light: #8e8958;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5b14",
  "rgb": {
    "r": 94,
    "g": 91,
    "b": 20
  },
  "hsl": {
    "h": 57.568,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.46008,
    "c": 0.08904,
    "h": 107
  },
  "luminance": 0.09912
}

Semantic roles & 50–950 ramp

primary
#5E5B14
secondary
#383C96
accent
#47E840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5B14

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

Preview Lab → · Contrast checker → · Palette generator →

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