#5E5714#5E5714

#5E5714 is a mid, moderate yellow. Relative luminance 0.092; OKLCH L 45.0% C 0.085 H 103.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#5E5714
RGBrgb(94, 87, 20)
HSLhsl(54, 65%, 22%)
HSVhsv(54, 79%, 37%)
CMYKcmyk(0%, 7.4%, 78.7%, 63.1%)
CIE-LABlab(36.46, -5.61, 37.52)
CIE-LCHlch(36.46, 37.94, 98.50°)
OKLaboklab(45.03% -0.0194 0.0827)
OKLCHoklch(45.03% 0.085 103.2)
XYZxyz(8.1509, 9.2469, 2.0172)
Luminance0.0925 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5714 #141B5E
analogous
#5E3214 #5E5714 #405E14
triadic
#5E5714 #145E57 #57145E
tetradic
#5E5714 #145E32 #141B5E #5E1440
square
#5E5714 #145E32 #141B5E #5E1440
split-complementary
#5E5714 #14405E #32145E
monochromatic
#191705 #2C2809 #5E5714 #90861F #C3B429

Accessibility & contrast

On white

7.37
#5E5714 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#5E5714 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5714
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5714#FFFFFF#000000##FFFFFF
##5E57141.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605408
Deuteranopia (green-blind)
#625719
Tritanopia (blue-blind)
#66504A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5714;
/* rgb */ color: rgb(94, 87, 20);
/* oklch */ color: oklch(45.0% 0.085 103.2);
Tailwind
colors: {
  custom: {
    50: '#8e8657',
    500: '#5e5714',
    950: '#000000',
  },
}
SCSS
$custom: #5e5714;
$custom-light: #8e8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5714",
  "rgb": {
    "r": 94,
    "g": 87,
    "b": 20
  },
  "hsl": {
    "h": 54.324,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45028,
    "c": 0.08494,
    "h": 103.2
  },
  "luminance": 0.09247
}

Semantic roles & 50–950 ramp

primary
#5E5714
secondary
#384196
accent
#50E840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5714

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

Preview Lab → · Contrast checker → · Palette generator →

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