#5C6811#5C6811

#5C6811 is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.106 H 117.6°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5C6811
RGBrgb(92, 104, 17)
HSLhsl(68, 72%, 24%)
HSVhsv(68, 84%, 41%)
CMYKcmyk(11.5%, 0%, 83.7%, 59.2%)
CIE-LABlab(41.56, -16.34, 43.24)
CIE-LCHlch(41.56, 46.23, 110.70°)
OKLaboklab(49.06% -0.0494 0.0943)
OKLCHoklch(49.06% 0.107 117.6)
XYZxyz(9.4654, 12.2165, 2.3896)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6811 #1D1168
analogous
#684811 #5C6811 #306811
triadic
#5C6811 #115C68 #68115C
tetradic
#5C6811 #116848 #1D1168 #681130
square
#5C6811 #116848 #1D1168 #681130
split-complementary
#5C6811 #113068 #481168
monochromatic
#171A04 #2D3308 #5C6811 #8B9D1A #B9D122

Accessibility & contrast

On white

6.10
#5C6811 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5C6811 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6811
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6811#FFFFFF#000000##FFFFFF
##5C68111.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706200
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#626258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c6811;
/* rgb */ color: rgb(92, 104, 17);
/* oklch */ color: oklch(49.1% 0.106 117.6);
Tailwind
colors: {
  custom: {
    50: '#8d9358',
    500: '#5c6811',
    950: '#000000',
  },
}
SCSS
$custom: #5c6811;
$custom-light: #8d9358;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6811",
  "rgb": {
    "r": 92,
    "g": 104,
    "b": 17
  },
  "hsl": {
    "h": 68.276,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.49062,
    "c": 0.1065,
    "h": 117.6
  },
  "luminance": 0.12216
}

Semantic roles & 50–950 ramp

primary
#5C6811
secondary
#4435A0
accent
#39EF52
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C6811

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

Preview Lab → · Contrast checker → · Palette generator →

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