#5C6012#5C6012

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

Color values

HEX#5C6012
RGBrgb(92, 96, 18)
HSLhsl(63, 68%, 22%)
HSVhsv(63, 81%, 38%)
CMYKcmyk(4.2%, 0%, 81.3%, 62.4%)
CIE-LABlab(39.04, -11.87, 40.63)
CIE-LCHlch(39.04, 42.33, 106.29°)
OKLaboklab(47.04% -0.037 0.089)
OKLCHoklch(47.04% 0.096 112.6)
XYZxyz(8.7060, 10.6849, 2.1759)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6012 #161260
analogous
#603D12 #5C6012 #356012
triadic
#5C6012 #125C60 #60125C
tetradic
#5C6012 #12603D #161260 #601235
square
#5C6012 #12603D #161260 #601235
split-complementary
#5C6012 #123560 #3D1260
monochromatic
#191A05 #2B2C08 #5C6012 #8D941C #BFC725

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6012#FFFFFF#000000##FFFFFF
##5C60121.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)
#685B01
Deuteranopia (green-blind)
#685D19
Tritanopia (blue-blind)
#635A51
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5c6012;
/* rgb */ color: rgb(92, 96, 18);
/* oklch */ color: oklch(47.0% 0.096 112.6);
Tailwind
colors: {
  custom: {
    50: '#8d8d57',
    500: '#5c6012',
    950: '#000000',
  },
}
SCSS
$custom: #5c6012;
$custom-light: #8d8d57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6012",
  "rgb": {
    "r": 92,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 63.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.47045,
    "c": 0.09636,
    "h": 112.6
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

primary
#5C6012
secondary
#3B3698
accent
#3DEB45
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5C6012

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

Preview Lab → · Contrast checker → · Palette generator →

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