#5C6213#5C6213

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

Color values

HEX#5C6213
RGBrgb(92, 98, 19)
HSLhsl(65, 68%, 23%)
HSVhsv(65, 81%, 38%)
CMYKcmyk(6.1%, 0%, 80.6%, 61.6%)
CIE-LABlab(39.68, -12.95, 40.86)
CIE-LCHlch(39.68, 42.86, 107.58°)
OKLaboklab(47.56% -0.0399 0.0896)
OKLCHoklch(47.56% 0.098 114)
XYZxyz(8.8991, 11.0579, 2.2816)
Luminance0.1106 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6213 #191362
analogous
#624013 #5C6213 #346213
triadic
#5C6213 #135C62 #62135C
tetradic
#5C6213 #136240 #191362 #621334
square
#5C6213 #136240 #191362 #621334
split-complementary
#5C6213 #133462 #401362
monochromatic
#181A05 #2C2F09 #5C6213 #8C951D #BCC927

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6213#FFFFFF#000000##FFFFFF
##5C62131.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)
#6A5D02
Deuteranopia (green-blind)
#6A5E1A
Tritanopia (blue-blind)
#635C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c6213;
/* rgb */ color: rgb(92, 98, 19);
/* oklch */ color: oklch(47.6% 0.098 114.0);
Tailwind
colors: {
  custom: {
    50: '#8d8e58',
    500: '#5c6213',
    950: '#000000',
  },
}
SCSS
$custom: #5c6213;
$custom-light: #8d8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6213",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 19
  },
  "hsl": {
    "h": 64.557,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.47555,
    "c": 0.09812,
    "h": 114
  },
  "luminance": 0.11058
}

Semantic roles & 50–950 ramp

primary
#5C6213
secondary
#3F379A
accent
#3DEA4B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C04
muted
#7D7D79

Preview Lab

Preview with #5C6213

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

Preview Lab → · Contrast checker → · Palette generator →

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