#5D5E18#5D5E18

#5D5E18 is a mid, moderate yellow. Relative luminance 0.104; OKLCH L 46.7% C 0.090 H 110.2°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#5D5E18
RGBrgb(93, 94, 24)
HSLhsl(61, 59%, 23%)
HSVhsv(61, 74%, 37%)
CMYKcmyk(1.1%, 0%, 74.5%, 63.1%)
CIE-LABlab(38.55, -9.94, 37.87)
CIE-LCHlch(38.55, 39.15, 104.71°)
OKLaboklab(46.68% -0.0311 0.0843)
OKLCHoklch(46.68% 0.09 110.2)
XYZxyz(8.6821, 10.3988, 2.4138)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5E18 #19185E
analogous
#5E3C18 #5D5E18 #3A5E18
triadic
#5D5E18 #185D5E #5E185D
tetradic
#5D5E18 #185E3C #19185E #5E183A
square
#5D5E18 #185E3C #19185E #5E183A
split-complementary
#5D5E18 #183A5E #3C185E
monochromatic
#181806 #2D2D0C #5D5E18 #8D8F24 #BDC031

Accessibility & contrast

On white

6.82
#5D5E18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#5D5E18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D5E18
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5E18#FFFFFF#000000##FFFFFF
##5D5E181.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A0C
Deuteranopia (green-blind)
#675C1D
Tritanopia (blue-blind)
#645850
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #5d5e18;
/* rgb */ color: rgb(93, 94, 24);
/* oklch */ color: oklch(46.7% 0.090 110.2);
Tailwind
colors: {
  custom: {
    50: '#8d8b5a',
    500: '#5d5e18',
    950: '#000000',
  },
}
SCSS
$custom: #5d5e18;
$custom-light: #8d8b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5e18",
  "rgb": {
    "r": 93,
    "g": 94,
    "b": 24
  },
  "hsl": {
    "h": 60.857,
    "s": 59.322,
    "l": 23.137
  },
  "oklch": {
    "l": 0.46683,
    "c": 0.08982,
    "h": 110.2
  },
  "luminance": 0.10399
}

Semantic roles & 50–950 ramp

primary
#5D5E18
secondary
#3F3D94
accent
#45E348
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5D5E18

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

Preview Lab → · Contrast checker → · Palette generator →

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