#5C6310#5C6310

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

Color values

HEX#5C6310
RGBrgb(92, 99, 16)
HSLhsl(65, 72%, 23%)
HSVhsv(65, 84%, 39%)
CMYKcmyk(7.1%, 0%, 83.8%, 61.2%)
CIE-LABlab(39.98, -13.64, 42.15)
CIE-LCHlch(39.98, 44.30, 107.93°)
OKLaboklab(47.79% -0.0421 0.0918)
OKLCHoklch(47.79% 0.101 114.6)
XYZxyz(8.9693, 11.2366, 2.1865)
Luminance0.1124 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6310 #171063
analogous
#634010 #5C6310 #336310
triadic
#5C6310 #105C63 #63105C
tetradic
#5C6310 #106340 #171063 #631033
square
#5C6310 #106340 #171063 #631033
split-complementary
#5C6310 #103363 #401063
monochromatic
#181A04 #2B2E07 #5C6310 #8D9819 #BECC21

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6310#FFFFFF#000000##FFFFFF
##5C63101.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)
#6A5F18
Tritanopia (blue-blind)
#635D54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5c6310;
/* rgb */ color: rgb(92, 99, 16);
/* oklch */ color: oklch(47.8% 0.101 114.6);
Tailwind
colors: {
  custom: {
    50: '#8d8f57',
    500: '#5c6310',
    950: '#000000',
  },
}
SCSS
$custom: #5c6310;
$custom-light: #8d8f57;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6310",
  "rgb": {
    "r": 92,
    "g": 99,
    "b": 16
  },
  "hsl": {
    "h": 65.06,
    "s": 72.174,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47789,
    "c": 0.10099,
    "h": 114.6
  },
  "luminance": 0.11236
}

Semantic roles & 50–950 ramp

primary
#5C6310
secondary
#3C339C
accent
#39EF48
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5C6310

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

Preview Lab → · Contrast checker → · Palette generator →

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