#5C660F#5C660F

#5C660F is a mid, moderate yellow. Relative luminance 0.118; OKLCH L 48.5% C 0.105 H 116.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#5C660F
RGBrgb(92, 102, 15)
HSLhsl(67, 74%, 23%)
HSVhsv(67, 85%, 40%)
CMYKcmyk(9.8%, 0%, 85.3%, 60%)
CIE-LABlab(40.92, -15.33, 43.29)
CIE-LCHlch(40.92, 45.93, 109.50°)
OKLaboklab(48.54% -0.0468 0.0941)
OKLCHoklch(48.54% 0.105 116.5)
XYZxyz(9.2515, 11.8127, 2.2446)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C660F #190F66
analogous
#66450F #5C660F #30660F
triadic
#5C660F #0F5C66 #660F5C
tetradic
#5C660F #0F6645 #190F66 #660F30
square
#5C660F #0F6645 #190F66 #660F30
split-complementary
#5C660F #0F3066 #450F66
monochromatic
#181B04 #2C3107 #5C660F #8C9B17 #BCD11F

Accessibility & contrast

On white

6.25
#5C660F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#5C660F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C660F
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C660F#FFFFFF#000000##FFFFFF
##5C660F1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6000
Deuteranopia (green-blind)
#6D6118
Tritanopia (blue-blind)
#626056
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5c660f;
/* rgb */ color: rgb(92, 102, 15);
/* oklch */ color: oklch(48.5% 0.105 116.5);
Tailwind
colors: {
  custom: {
    50: '#8d9157',
    500: '#5c660f',
    950: '#000000',
  },
}
SCSS
$custom: #5c660f;
$custom-light: #8d9157;
$custom-dark: #000000;
JSON
{
  "hex": "#5c660f",
  "rgb": {
    "r": 92,
    "g": 102,
    "b": 15
  },
  "hsl": {
    "h": 66.897,
    "s": 74.359,
    "l": 22.941
  },
  "oklch": {
    "l": 0.48543,
    "c": 0.10506,
    "h": 116.5
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#5C660F
secondary
#3F329F
accent
#37F14C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5C660F

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

Preview Lab → · Contrast checker → · Palette generator →

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