#5E5618#5E5618

#5E5618 is a dark, moderate yellow. Relative luminance 0.091; OKLCH L 44.8% C 0.081 H 101.8°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#5E5618
RGBrgb(94, 86, 24)
HSLhsl(53, 59%, 23%)
HSVhsv(53, 74%, 37%)
CMYKcmyk(0%, 8.5%, 74.5%, 63.1%)
CIE-LABlab(36.18, -4.80, 35.54)
CIE-LCHlch(36.18, 35.87, 97.68°)
OKLaboklab(44.82% -0.0166 0.0793)
OKLCHoklch(44.82% 0.081 101.8)
XYZxyz(8.1091, 9.1016, 2.1936)
Luminance0.0910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5618 #18205E
analogous
#5E3318 #5E5618 #435E18
triadic
#5E5618 #185E56 #56185E
tetradic
#5E5618 #185E33 #18205E #5E1843
square
#5E5618 #185E33 #18205E #5E1843
split-complementary
#5E5618 #18435E #33185E
monochromatic
#181606 #2D290C #5E5618 #8F8324 #C0AF31

Accessibility & contrast

On white

7.45
#5E5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#5E5618 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5618
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5618#FFFFFF#000000##FFFFFF
##5E56181.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530F
Deuteranopia (green-blind)
#61571C
Tritanopia (blue-blind)
#664F4A
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #5e5618;
/* rgb */ color: rgb(94, 86, 24);
/* oklch */ color: oklch(44.8% 0.081 101.8);
Tailwind
colors: {
  custom: {
    50: '#8e8559',
    500: '#5e5618',
    950: '#000000',
  },
}
SCSS
$custom: #5e5618;
$custom-light: #8e8559;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5618",
  "rgb": {
    "r": 94,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 53.143,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.44818,
    "c": 0.08106,
    "h": 101.8
  },
  "luminance": 0.09101
}

Semantic roles & 50–950 ramp

primary
#5E5618
secondary
#3D4794
accent
#57E345
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B04
muted
#7E7C79

Preview Lab

Preview with #5E5618

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

Preview Lab → · Contrast checker → · Palette generator →

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