#5E5818#5E5818

#5E5818 is a mid, moderate yellow. Relative luminance 0.094; OKLCH L 45.3% C 0.083 H 103.9°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#5E5818
RGBrgb(94, 88, 24)
HSLhsl(55, 59%, 23%)
HSVhsv(55, 74%, 37%)
CMYKcmyk(0%, 6.4%, 74.5%, 63.1%)
CIE-LABlab(36.79, -5.98, 36.16)
CIE-LCHlch(36.79, 36.65, 99.39°)
OKLaboklab(45.3% -0.02 0.0806)
OKLCHoklch(45.3% 0.083 103.9)
XYZxyz(8.2710, 9.4254, 2.2476)
Luminance0.0943 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E5818 #181E5E
analogous
#5E3518 #5E5818 #415E18
triadic
#5E5818 #185E58 #58185E
tetradic
#5E5818 #185E35 #181E5E #5E1841
square
#5E5818 #185E35 #181E5E #5E1841
split-complementary
#5E5818 #18415E #35185E
monochromatic
#181706 #2D2A0C #5E5818 #8F8624 #C0B331

Accessibility & contrast

On white

7.28
#5E5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#5E5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5E5818
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E5818#FFFFFF#000000##FFFFFF
##5E58181.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60550E
Deuteranopia (green-blind)
#62581C
Tritanopia (blue-blind)
#65524B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #5e5818;
/* rgb */ color: rgb(94, 88, 24);
/* oklch */ color: oklch(45.3% 0.083 103.9);
Tailwind
colors: {
  custom: {
    50: '#8e8659',
    500: '#5e5818',
    950: '#000000',
  },
}
SCSS
$custom: #5e5818;
$custom-light: #8e8659;
$custom-dark: #000000;
JSON
{
  "hex": "#5e5818",
  "rgb": {
    "r": 94,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 54.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.45304,
    "c": 0.08307,
    "h": 103.9
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#5E5818
secondary
#3D4594
accent
#53E345
background
#F8F8F5
surface
#F0EFE9
border
#CBCAC5
text
#0D0B04
muted
#7D7C79

Preview Lab

Preview with #5E5818

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

Preview Lab → · Contrast checker → · Palette generator →

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