#5C6313#5C6313

#5C6313 is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.8% C 0.099 H 114.7°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#5C6313
RGBrgb(92, 99, 19)
HSLhsl(65, 68%, 23%)
HSVhsv(65, 81%, 39%)
CMYKcmyk(7.1%, 0%, 80.8%, 61.2%)
CIE-LABlab(39.99, -13.51, 41.15)
CIE-LCHlch(39.99, 43.31, 108.17°)
OKLaboklab(47.81% -0.0414 0.0903)
OKLCHoklch(47.81% 0.099 114.7)
XYZxyz(8.9933, 11.2462, 2.3129)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6313 #1A1363
analogous
#634213 #5C6313 #346313
triadic
#5C6313 #135C63 #63135C
tetradic
#5C6313 #136342 #1A1363 #631334
square
#5C6313 #136342 #1A1363 #631334
split-complementary
#5C6313 #133463 #421363
monochromatic
#181A05 #2C3009 #5C6313 #8C961D #BBCA27

Accessibility & contrast

On white

6.46
#5C6313 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#5C6313 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6313
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6313#FFFFFF#000000##FFFFFF
##5C63131.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E01
Deuteranopia (green-blind)
#6A5F1A
Tritanopia (blue-blind)
#635D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c6313;
/* rgb */ color: rgb(92, 99, 19);
/* oklch */ color: oklch(47.8% 0.099 114.7);
Tailwind
colors: {
  custom: {
    50: '#8d8f58',
    500: '#5c6313',
    950: '#000000',
  },
}
SCSS
$custom: #5c6313;
$custom-light: #8d8f58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6313",
  "rgb": {
    "r": 92,
    "g": 99,
    "b": 19
  },
  "hsl": {
    "h": 65.25,
    "s": 67.797,
    "l": 23.137
  },
  "oklch": {
    "l": 0.47807,
    "c": 0.09932,
    "h": 114.7
  },
  "luminance": 0.11246
}

Semantic roles & 50–950 ramp

primary
#5C6313
secondary
#40379B
accent
#3DEB4C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6313

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

Preview Lab → · Contrast checker → · Palette generator →

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