#5C6813#5C6813

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

Color values

HEX#5C6813
RGBrgb(92, 104, 19)
HSLhsl(68, 69%, 24%)
HSVhsv(68, 82%, 41%)
CMYKcmyk(11.5%, 0%, 81.7%, 59.2%)
CIE-LABlab(41.57, -16.25, 42.60)
CIE-LCHlch(41.57, 45.59, 110.88°)
OKLaboklab(49.07% -0.049 0.0933)
OKLCHoklch(49.07% 0.105 117.7)
XYZxyz(9.4817, 12.2231, 2.4758)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6813 #1F1368
analogous
#684A13 #5C6813 #326813
triadic
#5C6813 #135C68 #68135C
tetradic
#5C6813 #13684A #1F1368 #681332
square
#5C6813 #13684A #1F1368 #681332
split-complementary
#5C6813 #133268 #4A1368
monochromatic
#171A05 #2E340A #5C6813 #8A9C1C #B8CF26

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C6813#FFFFFF#000000##FFFFFF
##5C68131.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)
#6E621B
Tritanopia (blue-blind)
#626258
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5c6813;
/* rgb */ color: rgb(92, 104, 19);
/* oklch */ color: oklch(49.1% 0.105 117.7);
Tailwind
colors: {
  custom: {
    50: '#8d9359',
    500: '#5c6813',
    950: '#000000',
  },
}
SCSS
$custom: #5c6813;
$custom-light: #8d9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6813",
  "rgb": {
    "r": 92,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 68.471,
    "s": 69.106,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49073,
    "c": 0.10542,
    "h": 117.7
  },
  "luminance": 0.12223
}

Semantic roles & 50–950 ramp

primary
#5C6813
secondary
#46379F
accent
#3CEC55
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5C6813

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

Preview Lab → · Contrast checker → · Palette generator →

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