#5C6211#5C6211

#5C6211 is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.5% C 0.099 H 114.0°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#5C6211
RGBrgb(92, 98, 17)
HSLhsl(64, 70%, 23%)
HSVhsv(64, 83%, 38%)
CMYKcmyk(6.1%, 0%, 82.7%, 61.6%)
CIE-LABlab(39.67, -13.04, 41.54)
CIE-LCHlch(39.67, 43.54, 107.43°)
OKLaboklab(47.54% -0.0403 0.0907)
OKLCHoklch(47.54% 0.099 114)
XYZxyz(8.8828, 11.0513, 2.1954)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6211 #171162
analogous
#623F11 #5C6211 #346211
triadic
#5C6211 #115C62 #62115C
tetradic
#5C6211 #11623F #171162 #621134
square
#5C6211 #11623F #171162 #621134
split-complementary
#5C6211 #113462 #3F1162
monochromatic
#181A05 #2B2E08 #5C6211 #8D961A #BECA23

Accessibility & contrast

On white

6.54
#5C6211 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5C6211 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6211
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6211#FFFFFF#000000##FFFFFF
##5C62111.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6A5E18
Tritanopia (blue-blind)
#635C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c6211;
/* rgb */ color: rgb(92, 98, 17);
/* oklch */ color: oklch(47.5% 0.099 114.0);
Tailwind
colors: {
  custom: {
    50: '#8d8e57',
    500: '#5c6211',
    950: '#000000',
  },
}
SCSS
$custom: #5c6211;
$custom-light: #8d8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6211",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 17
  },
  "hsl": {
    "h": 64.444,
    "s": 70.435,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47542,
    "c": 0.09927,
    "h": 114
  },
  "luminance": 0.11051
}

Semantic roles & 50–950 ramp

primary
#5C6211
secondary
#3C349A
accent
#3BED48
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5C6211

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

Preview Lab → · Contrast checker → · Palette generator →

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