#5D6312#5D6312

#5D6312 is a mid, moderate yellow. Relative luminance 0.113; OKLCH L 47.9% C 0.100 H 113.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#5D6312
RGBrgb(93, 99, 18)
HSLhsl(64, 69%, 23%)
HSVhsv(64, 82%, 39%)
CMYKcmyk(6.1%, 0%, 81.8%, 61.2%)
CIE-LABlab(40.07, -13.08, 41.60)
CIE-LCHlch(40.07, 43.61, 107.45°)
OKLaboklab(47.89% -0.0404 0.091)
OKLCHoklch(47.89% 0.1 113.9)
XYZxyz(9.0855, 11.2947, 2.2736)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6312 #181263
analogous
#634012 #5D6312 #356312
triadic
#5D6312 #125D63 #63125D
tetradic
#5D6312 #126340 #181263 #631235
square
#5D6312 #126340 #181263 #631235
split-complementary
#5D6312 #123563 #401263
monochromatic
#181A05 #2C2F09 #5D6312 #8E971B #BECB25

Accessibility & contrast

On white

6.44
#5D6312 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#5D6312 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6312
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6312#FFFFFF#000000##FFFFFF
##5D63121.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#6B5F19
Tritanopia (blue-blind)
#645D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5d6312;
/* rgb */ color: rgb(93, 99, 18);
/* oklch */ color: oklch(47.9% 0.100 113.9);
Tailwind
colors: {
  custom: {
    50: '#8e8f58',
    500: '#5d6312',
    950: '#000000',
  },
}
SCSS
$custom: #5d6312;
$custom-light: #8e8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6312",
  "rgb": {
    "r": 93,
    "g": 99,
    "b": 18
  },
  "hsl": {
    "h": 64.444,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47891,
    "c": 0.09956,
    "h": 113.9
  },
  "luminance": 0.11295
}

Semantic roles & 50–950 ramp

primary
#5D6312
secondary
#3D369B
accent
#3CEC49
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5D6312

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

Preview Lab → · Contrast checker → · Palette generator →

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