#5E5918#5E5918

#5E5918 is a mid, moderate yellow. Relative luminance 0.096; OKLCH L 45.5% C 0.084 H 104.9°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#5E5918
RGBrgb(94, 89, 24)
HSLhsl(56, 59%, 23%)
HSVhsv(56, 74%, 37%)
CMYKcmyk(0%, 5.3%, 74.5%, 63.1%)
CIE-LABlab(37.10, -6.56, 36.46)
CIE-LCHlch(37.10, 37.05, 100.20°)
OKLaboklab(45.55% -0.0216 0.0813)
OKLCHoklch(45.55% 0.084 104.9)
XYZxyz(8.3537, 9.5907, 2.2751)
Luminance0.0959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5918 #181D5E
analogous
#5E3618 #5E5918 #405E18
triadic
#5E5918 #185E59 #59185E
tetradic
#5E5918 #185E36 #181D5E #5E1840
square
#5E5918 #185E36 #181D5E #5E1840
split-complementary
#5E5918 #18405E #36185E
monochromatic
#181706 #2D2B0C #5E5918 #8F8724 #C0B531

Accessibility & contrast

On white

7.20
#5E5918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#5E5918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5918
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5918#FFFFFF#000000##FFFFFF
##5E59181.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560E
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#65534C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5918;
/* rgb */ color: rgb(94, 89, 24);
/* oklch */ color: oklch(45.5% 0.084 104.9);
Tailwind
colors: {
  custom: {
    50: '#8e875a',
    500: '#5e5918',
    950: '#000000',
  },
}
SCSS
$custom: #5e5918;
$custom-light: #8e875a;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5918",
  "rgb": {
    "r": 94,
    "g": 89,
    "b": 24
  },
  "hsl": {
    "h": 55.714,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45549,
    "c": 0.08411,
    "h": 104.9
  },
  "luminance": 0.0959
}

Semantic roles & 50–950 ramp

primary
#5E5918
secondary
#3D4494
accent
#51E345
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E5918

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

Preview Lab → · Contrast checker → · Palette generator →

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