#5C6511#5C6511

#5C6511 is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.103 H 115.9°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#5C6511
RGBrgb(92, 101, 17)
HSLhsl(66, 71%, 23%)
HSVhsv(66, 83%, 40%)
CMYKcmyk(8.9%, 0%, 83.2%, 60.4%)
CIE-LABlab(40.61, -14.70, 42.39)
CIE-LCHlch(40.61, 44.87, 109.13°)
OKLaboklab(48.3% -0.0449 0.0925)
OKLCHoklch(48.3% 0.103 115.9)
XYZxyz(9.1687, 11.6233, 2.2907)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6511 #1A1165
analogous
#654411 #5C6511 #326511
triadic
#5C6511 #115C65 #65115C
tetradic
#5C6511 #116544 #1A1165 #651132
square
#5C6511 #116544 #1A1165 #651132
split-complementary
#5C6511 #113265 #441165
monochromatic
#181A04 #2C3108 #5C6511 #8C991A #BBCE23

Accessibility & contrast

On white

6.32
#5C6511 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5C6511 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6511
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6511#FFFFFF#000000##FFFFFF
##5C65111.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F00
Deuteranopia (green-blind)
#6C6019
Tritanopia (blue-blind)
#625F56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c6511;
/* rgb */ color: rgb(92, 101, 17);
/* oklch */ color: oklch(48.3% 0.103 115.9);
Tailwind
colors: {
  custom: {
    50: '#8d9058',
    500: '#5c6511',
    950: '#000000',
  },
}
SCSS
$custom: #5c6511;
$custom-light: #8d9058;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6511",
  "rgb": {
    "r": 92,
    "g": 101,
    "b": 17
  },
  "hsl": {
    "h": 66.429,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.483,
    "c": 0.10284,
    "h": 115.9
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#5C6511
secondary
#40359D
accent
#3AEE4D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6511

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

Preview Lab → · Contrast checker → · Palette generator →

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