#5C6014#5C6014

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

Color values

HEX#5C6014
RGBrgb(92, 96, 20)
HSLhsl(63, 66%, 23%)
HSVhsv(63, 79%, 38%)
CMYKcmyk(4.2%, 0%, 79.2%, 62.4%)
CIE-LABlab(39.06, -11.78, 39.91)
CIE-LCHlch(39.06, 41.61, 106.44°)
OKLaboklab(47.06% -0.0365 0.0879)
OKLCHoklch(47.06% 0.095 112.6)
XYZxyz(8.7231, 10.6918, 2.2659)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6014 #181460
analogous
#603E14 #5C6014 #366014
triadic
#5C6014 #145C60 #60145C
tetradic
#5C6014 #14603E #181460 #601436
square
#5C6014 #14603E #181460 #601436
split-complementary
#5C6014 #143660 #3E1460
monochromatic
#181905 #2B2D09 #5C6014 #8D931F #BDC529

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6014#FFFFFF#000000##FFFFFF
##5C60141.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)
#685B04
Deuteranopia (green-blind)
#685D1A
Tritanopia (blue-blind)
#635A52
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c6014;
/* rgb */ color: rgb(92, 96, 20);
/* oklch */ color: oklch(47.1% 0.095 112.6);
Tailwind
colors: {
  custom: {
    50: '#8d8d58',
    500: '#5c6014',
    950: '#000000',
  },
}
SCSS
$custom: #5c6014;
$custom-light: #8d8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6014",
  "rgb": {
    "r": 92,
    "g": 96,
    "b": 20
  },
  "hsl": {
    "h": 63.158,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47059,
    "c": 0.09515,
    "h": 112.6
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#5C6014
secondary
#3D3898
accent
#3FE848
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6014

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

Preview Lab → · Contrast checker → · Palette generator →

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