#5D6213#5D6213

#5D6213 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.6% C 0.098 H 113.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5D6213
RGBrgb(93, 98, 19)
HSLhsl(64, 68%, 23%)
HSVhsv(64, 81%, 38%)
CMYKcmyk(5.1%, 0%, 80.6%, 61.6%)
CIE-LABlab(39.76, -12.47, 40.97)
CIE-LCHlch(39.76, 42.83, 106.93°)
OKLaboklab(47.65% -0.0386 0.0899)
OKLCHoklch(47.65% 0.098 113.3)
XYZxyz(8.9997, 11.1097, 2.2863)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6213 #181362
analogous
#623F13 #5D6213 #366213
triadic
#5D6213 #135D62 #62135D
tetradic
#5D6213 #13623F #181362 #621336
square
#5D6213 #13623F #181362 #621336
split-complementary
#5D6213 #133662 #3F1362
monochromatic
#181A05 #2C2F09 #5D6213 #8E951D #BEC927

Accessibility & contrast

On white

6.52
#5D6213 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D6213 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6213
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6213#FFFFFF#000000##FFFFFF
##5D62131.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D02
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#645C53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6213;
/* rgb */ color: rgb(93, 98, 19);
/* oklch */ color: oklch(47.6% 0.098 113.3);
Tailwind
colors: {
  custom: {
    50: '#8e8e58',
    500: '#5d6213',
    950: '#000000',
  },
}
SCSS
$custom: #5d6213;
$custom-light: #8e8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6213",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 63.797,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47646,
    "c": 0.0978,
    "h": 113.3
  },
  "luminance": 0.1111
}

Semantic roles & 50–950 ramp

primary
#5D6213
secondary
#3D379A
accent
#3DEA48
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6213

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

Preview Lab → · Contrast checker → · Palette generator →

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