#5C6712#5C6712

#5C6712 is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.105 H 117.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5C6712
RGBrgb(92, 103, 18)
HSLhsl(68, 70%, 24%)
HSVhsv(68, 83%, 40%)
CMYKcmyk(10.7%, 0%, 82.5%, 59.6%)
CIE-LABlab(41.25, -15.75, 42.64)
CIE-LCHlch(41.25, 45.45, 110.27°)
OKLaboklab(48.81% -0.0477 0.0932)
OKLCHoklch(48.81% 0.105 117.1)
XYZxyz(9.3733, 12.0196, 2.3984)
Luminance0.1202 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C6712 #1D1267
analogous
#674712 #5C6712 #316712
triadic
#5C6712 #125C67 #67125C
tetradic
#5C6712 #126747 #1D1267 #671231
square
#5C6712 #126747 #1D1267 #671231
split-complementary
#5C6712 #123167 #471267
monochromatic
#171A05 #2D3309 #5C6712 #8B9B1B #B9CF24

Accessibility & contrast

On white

6.17
#5C6712 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5C6712 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C6712
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C6712#FFFFFF#000000##FFFFFF
##5C67121.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6E621A
Tritanopia (blue-blind)
#626157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c6712;
/* rgb */ color: rgb(92, 103, 18);
/* oklch */ color: oklch(48.8% 0.105 117.1);
Tailwind
colors: {
  custom: {
    50: '#8d9258',
    500: '#5c6712',
    950: '#000000',
  },
}
SCSS
$custom: #5c6712;
$custom-light: #8d9258;
$custom-dark: #000000;
JSON
{
  "hex": "#5c6712",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 18
  },
  "hsl": {
    "h": 67.765,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.48813,
    "c": 0.10474,
    "h": 117.1
  },
  "luminance": 0.12019
}

Semantic roles & 50–950 ramp

primary
#5C6712
secondary
#44369F
accent
#3BED52
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5C6712

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

Preview Lab → · Contrast checker → · Palette generator →

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