#5C671A#5C671A

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

Color values

HEX#5C671A
RGBrgb(92, 103, 26)
HSLhsl(69, 60%, 25%)
HSVhsv(69, 75%, 40%)
CMYKcmyk(10.7%, 0%, 74.8%, 59.6%)
CIE-LABlab(41.30, -15.33, 39.72)
CIE-LCHlch(41.30, 42.57, 111.10°)
OKLaboklab(48.87% -0.0458 0.0886)
OKLCHoklch(48.87% 0.1 117.3)
XYZxyz(9.4505, 12.0505, 2.8052)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C671A #251A67
analogous
#674B1A #5C671A #36671A
triadic
#5C671A #1A5C67 #671A5C
tetradic
#5C671A #1A674B #251A67 #671A36
square
#5C671A #1A674B #251A67 #671A36
split-complementary
#5C671A #1A3667 #4B1A67
monochromatic
#161806 #30360E #5C671A #889826 #B3C933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C671A#FFFFFF#000000##FFFFFF
##5C671A1.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)
#6E610D
Deuteranopia (green-blind)
#6D6220
Tritanopia (blue-blind)
#626158
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c671a;
/* rgb */ color: rgb(92, 103, 26);
/* oklch */ color: oklch(48.9% 0.100 117.3);
Tailwind
colors: {
  custom: {
    50: '#8d925c',
    500: '#5c671a',
    950: '#000000',
  },
}
SCSS
$custom: #5c671a;
$custom-light: #8d925c;
$custom-dark: #000000;
JSON
{
  "hex": "#5c671a",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 68.571,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.48868,
    "c": 0.09973,
    "h": 117.3
  },
  "luminance": 0.1205
}

Semantic roles & 50–950 ramp

primary
#5C671A
secondary
#4D409D
accent
#45E35C
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D04
muted
#7D7D79

Preview Lab

Preview with #5C671A

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

Preview Lab → · Contrast checker → · Palette generator →

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