#5E5810#5E5810

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

Color values

HEX#5E5810
RGBrgb(94, 88, 16)
HSLhsl(55, 71%, 22%)
HSVhsv(55, 83%, 37%)
CMYKcmyk(0%, 6.4%, 83%, 63.1%)
CIE-LABlab(36.74, -6.39, 39.31)
CIE-LCHlch(36.74, 39.82, 99.23°)
OKLaboklab(45.25% -0.022 0.0856)
OKLCHoklch(45.25% 0.088 104.4)
XYZxyz(8.1997, 9.3969, 1.8720)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5810 #10165E
analogous
#5E3110 #5E5810 #3D5E10
triadic
#5E5810 #105E58 #58105E
tetradic
#5E5810 #105E31 #10165E #5E103D
square
#5E5810 #105E31 #10165E #5E103D
split-complementary
#5E5810 #103D5E #31105E
monochromatic
#1A1804 #2A2707 #5E5810 #928919 #C7BA22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E5810#FFFFFF#000000##FFFFFF
##5E58101.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)
#615501
Deuteranopia (green-blind)
#635816
Tritanopia (blue-blind)
#66514B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #5e5810;
/* rgb */ color: rgb(94, 88, 16);
/* oklch */ color: oklch(45.2% 0.088 104.4);
Tailwind
colors: {
  custom: {
    50: '#8f8655',
    500: '#5e5810',
    950: '#000000',
  },
}
SCSS
$custom: #5e5810;
$custom-light: #8f8655;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5810",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 16
  },
  "hsl": {
    "h": 55.385,
    "s": 70.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.08842,
    "h": 104.4
  },
  "luminance": 0.09397
}

Semantic roles & 50–950 ramp

primary
#5E5810
secondary
#333B97
accent
#48EE3A
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5E5810

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

Preview Lab → · Contrast checker → · Palette generator →

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