#5C6013#5C6013

#5C6013 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.096 H 112.6°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#5C6013
RGBrgb(92, 96, 19)
HSLhsl(63, 67%, 23%)
HSVhsv(63, 80%, 38%)
CMYKcmyk(4.2%, 0%, 80.2%, 62.4%)
CIE-LABlab(39.05, -11.83, 40.28)
CIE-LCHlch(39.05, 41.98, 106.36°)
OKLaboklab(47.05% -0.0368 0.0884)
OKLCHoklch(47.05% 0.096 112.6)
XYZxyz(8.7143, 10.6883, 2.2200)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6013 #171360
analogous
#603E13 #5C6013 #356013
triadic
#5C6013 #135C60 #60135C
tetradic
#5C6013 #13603E #171360 #601335
square
#5C6013 #13603E #171360 #601335
split-complementary
#5C6013 #133560 #3E1360
monochromatic
#181A05 #2B2D09 #5C6013 #8D931D #BEC627

Accessibility & contrast

On white

6.69
#5C6013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5C6013 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6013
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6013#FFFFFF#000000##FFFFFF
##5C60131.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685B03
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#635A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c6013;
/* rgb */ color: rgb(92, 96, 19);
/* oklch */ color: oklch(47.1% 0.096 112.6);
Tailwind
colors: {
  custom: {
    50: '#8d8d58',
    500: '#5c6013',
    950: '#000000',
  },
}
SCSS
$custom: #5c6013;
$custom-light: #8d8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6013",
  "rgb": {
    "r": 92,
    "g": 96,
    "b": 19
  },
  "hsl": {
    "h": 63.117,
    "s": 66.957,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47052,
    "c": 0.09576,
    "h": 112.6
  },
  "luminance": 0.10688
}

Semantic roles & 50–950 ramp

primary
#5C6013
secondary
#3C3798
accent
#3EEA47
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6013

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

Preview Lab → · Contrast checker → · Palette generator →

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