#5E5518#5E5518

#5E5518 is a dark, moderate yellow. Relative luminance 0.089; OKLCH L 44.6% C 0.080 H 100.8°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#5E5518
RGBrgb(94, 85, 24)
HSLhsl(52, 59%, 23%)
HSVhsv(52, 74%, 37%)
CMYKcmyk(0%, 9.6%, 74.5%, 63.1%)
CIE-LABlab(35.87, -4.20, 35.24)
CIE-LCHlch(35.87, 35.49, 96.80°)
OKLaboklab(44.58% -0.0149 0.0787)
OKLCHoklch(44.58% 0.08 100.8)
XYZxyz(8.0298, 8.9430, 2.1672)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5518 #18215E
analogous
#5E3218 #5E5518 #445E18
triadic
#5E5518 #185E55 #55185E
tetradic
#5E5518 #185E32 #18215E #5E1844
square
#5E5518 #185E32 #18215E #5E1844
split-complementary
#5E5518 #18445E #32185E
monochromatic
#181606 #2D290C #5E5518 #8F8124 #C0AD31

Accessibility & contrast

On white

7.53
#5E5518 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#5E5518 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5518
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5518#FFFFFF#000000##FFFFFF
##5E55181.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E520F
Deuteranopia (green-blind)
#60561C
Tritanopia (blue-blind)
#664E49
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #5e5518;
/* rgb */ color: rgb(94, 85, 24);
/* oklch */ color: oklch(44.6% 0.080 100.8);
Tailwind
colors: {
  custom: {
    50: '#8e8459',
    500: '#5e5518',
    950: '#000000',
  },
}
SCSS
$custom: #5e5518;
$custom-light: #8e8459;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5518",
  "rgb": {
    "r": 94,
    "g": 85,
    "b": 24
  },
  "hsl": {
    "h": 52.286,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44576,
    "c": 0.08011,
    "h": 100.8
  },
  "luminance": 0.08943
}

Semantic roles & 50–950 ramp

primary
#5E5518
secondary
#3D4994
accent
#5AE345
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0A04
muted
#7E7C79

Preview Lab

Preview with #5E5518

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

Preview Lab → · Contrast checker → · Palette generator →

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