#5D5A0E#5D5A0E

#5D5A0E is a mid, moderate yellow. Relative luminance 0.097; OKLCH L 45.6% C 0.092 H 107.1°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#5D5A0E
RGBrgb(93, 90, 14)
HSLhsl(58, 74%, 21%)
HSVhsv(58, 85%, 36%)
CMYKcmyk(0%, 3.2%, 84.9%, 63.5%)
CIE-LABlab(37.25, -8.13, 40.41)
CIE-LCHlch(37.25, 41.22, 101.37°)
OKLaboklab(45.62% -0.027 0.0876)
OKLCHoklch(45.62% 0.092 107.1)
XYZxyz(8.2500, 9.6715, 1.8476)
Luminance0.0967 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D5A0E #0E115D
analogous
#5D320E #5D5A0E #385D0E
triadic
#5D5A0E #0E5D5A #5A0E5D
tetradic
#5D5A0E #0E5D32 #0E115D #5D0E38
square
#5D5A0E #0E5D32 #0E115D #5D0E38
split-complementary
#5D5A0E #0E385D #320E5D
monochromatic
#1B1A04 #282706 #5D5A0E #928D16 #C7C11E

Accessibility & contrast

On white

7.16
#5D5A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#5D5A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D5A0E
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D5A0E#FFFFFF#000000##FFFFFF
##5D5A0E1.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625600
Deuteranopia (green-blind)
#645915
Tritanopia (blue-blind)
#65534C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #5d5a0e;
/* rgb */ color: rgb(93, 90, 14);
/* oklch */ color: oklch(45.6% 0.092 107.1);
Tailwind
colors: {
  custom: {
    50: '#8e8855',
    500: '#5d5a0e',
    950: '#000000',
  },
}
SCSS
$custom: #5d5a0e;
$custom-light: #8e8855;
$custom-dark: #000000;
JSON
{
  "hex": "#5d5a0e",
  "rgb": {
    "r": 93,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 57.722,
    "s": 73.832,
    "l": 20.98
  },
  "oklch": {
    "l": 0.45624,
    "c": 0.0917,
    "h": 107.1
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#5D5A0E
secondary
#303497
accent
#3EF037
background
#F9F8F5
surface
#F1EFE9
border
#CBCAC5
text
#0D0B03
muted
#7E7C78

Preview Lab

Preview with #5D5A0E

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

Preview Lab → · Contrast checker → · Palette generator →

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