#5C671B#5C671B

#5C671B is a mid, moderate yellow. Relative luminance 0.121; OKLCH L 48.9% C 0.099 H 117.4°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#5C671B
RGBrgb(92, 103, 27)
HSLhsl(69, 58%, 25%)
HSVhsv(69, 74%, 40%)
CMYKcmyk(10.7%, 0%, 73.8%, 59.6%)
CIE-LABlab(41.30, -15.27, 39.31)
CIE-LCHlch(41.30, 42.17, 111.22°)
OKLaboklab(48.88% -0.0455 0.0879)
OKLCHoklch(48.88% 0.099 117.4)
XYZxyz(9.4619, 12.0550, 2.8651)
Luminance0.1206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C671B #261B67
analogous
#674C1B #5C671B #36671B
triadic
#5C671B #1B5C67 #671B5C
tetradic
#5C671B #1B674C #261B67 #671B36
square
#5C671B #1B674C #261B67 #671B36
split-complementary
#5C671B #1B3667 #4C1B67
monochromatic
#161806 #31370E #5C671B #879728 #B3C834

Accessibility & contrast

On white

6.16
#5C671B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#5C671B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C671B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C671B#FFFFFF#000000##FFFFFF
##5C671B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610F
Deuteranopia (green-blind)
#6D6221
Tritanopia (blue-blind)
#626158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c671b;
/* rgb */ color: rgb(92, 103, 27);
/* oklch */ color: oklch(48.9% 0.099 117.4);
Tailwind
colors: {
  custom: {
    50: '#8d925d',
    500: '#5c671b',
    950: '#000000',
  },
}
SCSS
$custom: #5c671b;
$custom-light: #8d925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5c671b",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 68.684,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.48876,
    "c": 0.09901,
    "h": 117.4
  },
  "luminance": 0.12055
}

Semantic roles & 50–950 ramp

primary
#5C671B
secondary
#4F429C
accent
#46E25D
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5C671B

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

Preview Lab → · Contrast checker → · Palette generator →

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