#5E5814#5E5814

#5E5814 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.086 H 104.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#5E5814
RGBrgb(94, 88, 20)
HSLhsl(55, 65%, 22%)
HSVhsv(55, 79%, 37%)
CMYKcmyk(0%, 6.4%, 78.7%, 63.1%)
CIE-LABlab(36.76, -6.20, 37.81)
CIE-LCHlch(36.76, 38.32, 99.31°)
OKLaboklab(45.27% -0.0211 0.0833)
OKLCHoklch(45.27% 0.086 104.2)
XYZxyz(8.2324, 9.4100, 2.0443)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5814 #141A5E
analogous
#5E3314 #5E5814 #3F5E14
triadic
#5E5814 #145E58 #58145E
tetradic
#5E5814 #145E33 #141A5E #5E143F
square
#5E5814 #145E33 #141A5E #5E143F
split-complementary
#5E5814 #143F5E #33145E
monochromatic
#191805 #2C2909 #5E5814 #90871F #C3B629

Accessibility & contrast

On white

7.29
#5E5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#5E5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5814
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5814#FFFFFF#000000##FFFFFF
##5E58141.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615507
Deuteranopia (green-blind)
#635819
Tritanopia (blue-blind)
#66514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5814;
/* rgb */ color: rgb(94, 88, 20);
/* oklch */ color: oklch(45.3% 0.086 104.2);
Tailwind
colors: {
  custom: {
    50: '#8e8657',
    500: '#5e5814',
    950: '#000000',
  },
}
SCSS
$custom: #5e5814;
$custom-light: #8e8657;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5814",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 55.135,
    "s": 64.912,
    "l": 22.353
  },
  "oklch": {
    "l": 0.45272,
    "c": 0.08594,
    "h": 104.2
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#5E5814
secondary
#384096
accent
#4EE840
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5814

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

Preview Lab → · Contrast checker → · Palette generator →

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