#5E5318#5E5318

#5E5318 is a dark, moderate yellow. Relative luminance 0.086; OKLCH L 44.1% C 0.078 H 98.5°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#5E5318
RGBrgb(94, 83, 24)
HSLhsl(51, 59%, 23%)
HSVhsv(51, 74%, 37%)
CMYKcmyk(0%, 11.7%, 74.5%, 63.1%)
CIE-LABlab(35.27, -3.01, 34.63)
CIE-LCHlch(35.27, 34.76, 94.96°)
OKLaboklab(44.1% -0.0115 0.0774)
OKLCHoklch(44.1% 0.078 98.5)
XYZxyz(7.8746, 8.6325, 2.1154)
Luminance0.0863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5318 #18235E
analogous
#5E3018 #5E5318 #465E18
triadic
#5E5318 #185E53 #53185E
tetradic
#5E5318 #185E30 #18235E #5E1846
square
#5E5318 #185E30 #18235E #5E1846
split-complementary
#5E5318 #18465E #30185E
monochromatic
#181606 #2D280C #5E5318 #8F7E24 #C0A931

Accessibility & contrast

On white

7.70
#5E5318 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#5E5318 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5318
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5318#FFFFFF#000000##FFFFFF
##5E53181.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#664C47
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #5e5318;
/* rgb */ color: rgb(94, 83, 24);
/* oklch */ color: oklch(44.1% 0.078 98.5);
Tailwind
colors: {
  custom: {
    50: '#8e8359',
    500: '#5e5318',
    950: '#000000',
  },
}
SCSS
$custom: #5e5318;
$custom-light: #8e8359;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5318",
  "rgb": {
    "r": 94,
    "g": 83,
    "b": 24
  },
  "hsl": {
    "h": 50.571,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44095,
    "c": 0.07826,
    "h": 98.5
  },
  "luminance": 0.08632
}

Semantic roles & 50–950 ramp

primary
#5E5318
secondary
#3D4B94
accent
#5EE345
background
#F9F7F5
surface
#F1EEE9
border
#CBC9C5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5E5318

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

Preview Lab → · Contrast checker → · Palette generator →

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