#5C6311#5C6311

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

Color values

HEX#5C6311
RGBrgb(92, 99, 17)
HSLhsl(65, 71%, 23%)
HSVhsv(65, 83%, 39%)
CMYKcmyk(7.1%, 0%, 82.8%, 61.2%)
CIE-LABlab(39.98, -13.60, 41.83)
CIE-LCHlch(39.98, 43.98, 108.01°)
OKLaboklab(47.79% -0.0419 0.0913)
OKLCHoklch(47.79% 0.1 114.6)
XYZxyz(8.9769, 11.2396, 2.2268)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6311 #181163
analogous
#634111 #5C6311 #336311
triadic
#5C6311 #115C63 #63115C
tetradic
#5C6311 #116341 #181163 #631133
square
#5C6311 #116341 #181163 #631133
split-complementary
#5C6311 #113363 #411163
monochromatic
#181A04 #2B2F08 #5C6311 #8D971A #BDCB23

Accessibility & contrast

On white

6.47
#5C6311 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5C6311
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6311#FFFFFF#000000##FFFFFF
##5C63111.006.473.256.47
#FFFFFF6.471.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c6311;
/* rgb */ color: rgb(92, 99, 17);
/* oklch */ color: oklch(47.8% 0.100 114.6);
Tailwind
colors: {
  custom: {
    50: '#8d8f57',
    500: '#5c6311',
    950: '#000000',
  },
}
SCSS
$custom: #5c6311;
$custom-light: #8d8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6311",
  "rgb": {
    "r": 92,
    "g": 99,
    "b": 17
  },
  "hsl": {
    "h": 65.122,
    "s": 70.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.47794,
    "c": 0.10046,
    "h": 114.6
  },
  "luminance": 0.11239
}

Semantic roles & 50–950 ramp

primary
#5C6311
secondary
#3D349B
accent
#3AED4A
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5C6311

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

Preview Lab → · Contrast checker → · Palette generator →

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