#5C680F#5C680F

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

Color values

HEX#5C680F
RGBrgb(92, 104, 15)
HSLhsl(68, 75%, 23%)
HSVhsv(68, 86%, 41%)
CMYKcmyk(11.5%, 0%, 85.6%, 59.2%)
CIE-LABlab(41.55, -16.42, 43.85)
CIE-LCHlch(41.55, 46.82, 110.53°)
OKLaboklab(49.05% -0.0498 0.0953)
OKLCHoklch(49.05% 0.107 117.6)
XYZxyz(9.4504, 12.2105, 2.3109)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C680F #1B0F68
analogous
#68470F #5C680F #2F680F
triadic
#5C680F #0F5C68 #680F5C
tetradic
#5C680F #0F6847 #1B0F68 #680F2F
square
#5C680F #0F6847 #1B0F68 #680F2F
split-complementary
#5C680F #0F2F68 #470F68
monochromatic
#181B04 #2D3307 #5C680F #8B9D17 #BBD31E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5c680f;
/* rgb */ color: rgb(92, 104, 15);
/* oklch */ color: oklch(49.1% 0.107 117.6);
Tailwind
colors: {
  custom: {
    50: '#8d9357',
    500: '#5c680f',
    950: '#000000',
  },
}
SCSS
$custom: #5c680f;
$custom-light: #8d9357;
$custom-dark: #000000;
JSON
{
  "hex": "#5c680f",
  "rgb": {
    "r": 92,
    "g": 104,
    "b": 15
  },
  "hsl": {
    "h": 68.09,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.49051,
    "c": 0.10748,
    "h": 117.6
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#5C680F
secondary
#4132A1
accent
#36F150
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0D0D04
muted
#7D7E79

Preview Lab

Preview with #5C680F

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

Preview Lab → · Contrast checker → · Palette generator →

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