#5C6210#5C6210

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

Color values

HEX#5C6210
RGBrgb(92, 98, 16)
HSLhsl(64, 72%, 22%)
HSVhsv(64, 84%, 38%)
CMYKcmyk(6.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(39.66, -13.08, 41.87)
CIE-LCHlch(39.66, 43.86, 107.35°)
OKLaboklab(47.54% -0.0405 0.0912)
OKLCHoklch(47.54% 0.1 114)
XYZxyz(8.8751, 11.0483, 2.1551)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6210 #161062
analogous
#623F10 #5C6210 #336210
triadic
#5C6210 #105C62 #62105C
tetradic
#5C6210 #10623F #161062 #621033
square
#5C6210 #10623F #161062 #621033
split-complementary
#5C6210 #103362 #3F1062
monochromatic
#191A04 #2B2D07 #5C6210 #8D9719 #BFCB21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6210#FFFFFF#000000##FFFFFF
##5C62101.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: #5c6210;
/* rgb */ color: rgb(92, 98, 16);
/* oklch */ color: oklch(47.5% 0.100 114.0);
Tailwind
colors: {
  custom: {
    50: '#8d8e57',
    500: '#5c6210',
    950: '#000000',
  },
}
SCSS
$custom: #5c6210;
$custom-light: #8d8e57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6210",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 64.39,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.47536,
    "c": 0.09981,
    "h": 114
  },
  "luminance": 0.11048
}

Semantic roles & 50–950 ramp

primary
#5C6210
secondary
#3B339B
accent
#39EF46
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5C6210

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

Preview Lab → · Contrast checker → · Palette generator →

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