#5D6412#5D6412

#5D6412 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.1% C 0.101 H 114.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5D6412
RGBrgb(93, 100, 18)
HSLhsl(65, 69%, 23%)
HSVhsv(65, 82%, 39%)
CMYKcmyk(7%, 0%, 82%, 60.8%)
CIE-LABlab(40.39, -13.63, 41.89)
CIE-LCHlch(40.39, 44.05, 108.03°)
OKLaboklab(48.14% -0.0419 0.0916)
OKLCHoklch(48.14% 0.101 114.6)
XYZxyz(9.1808, 11.4853, 2.3054)
Luminance0.1148 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6412 #191264
analogous
#644212 #5D6412 #346412
triadic
#5D6412 #125D64 #64125D
tetradic
#5D6412 #126442 #191264 #641234
square
#5D6412 #126442 #191264 #641234
split-complementary
#5D6412 #123464 #421264
monochromatic
#181A05 #2D3009 #5D6412 #8D981B #BDCC25

Accessibility & contrast

On white

6.37
#5D6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5D6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6412
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6412#FFFFFF#000000##FFFFFF
##5D64121.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#6C601A
Tritanopia (blue-blind)
#645E55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5d6412;
/* rgb */ color: rgb(93, 100, 18);
/* oklch */ color: oklch(48.1% 0.101 114.6);
Tailwind
colors: {
  custom: {
    50: '#8e9058',
    500: '#5d6412',
    950: '#000000',
  },
}
SCSS
$custom: #5d6412;
$custom-light: #8e9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6412",
  "rgb": {
    "r": 93,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 65.122,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48142,
    "c": 0.10074,
    "h": 114.6
  },
  "luminance": 0.11485
}

Semantic roles & 50–950 ramp

primary
#5D6412
secondary
#3F369C
accent
#3BEC4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6412

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

Preview Lab → · Contrast checker → · Palette generator →

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