#5C671F#5C671F

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

Color values

HEX#5C671F
RGBrgb(92, 103, 31)
HSLhsl(69, 54%, 26%)
HSVhsv(69, 70%, 40%)
CMYKcmyk(10.7%, 0%, 69.9%, 59.6%)
CIE-LABlab(41.33, -15.00, 37.61)
CIE-LCHlch(41.33, 40.49, 111.74°)
OKLaboklab(48.91% -0.0444 0.085)
OKLCHoklch(48.91% 0.096 117.5)
XYZxyz(9.5114, 12.0748, 3.1257)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C671F #2A1F67
analogous
#674E1F #5C671F #38671F
triadic
#5C671F #1F5C67 #671F5C
tetradic
#5C671F #1F674E #2A1F67 #671F38
square
#5C671F #1F674E #2A1F67 #671F38
split-complementary
#5C671F #1F3867 #4E1F67
monochromatic
#151807 #323811 #5C671F #86962D #B0C43C

Accessibility & contrast

On white

6.15
#5C671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#5C671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C671F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C671F#FFFFFF#000000##FFFFFF
##5C671F1.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c671f;
/* rgb */ color: rgb(92, 103, 31);
/* oklch */ color: oklch(48.9% 0.096 117.5);
Tailwind
colors: {
  custom: {
    50: '#8c925f',
    500: '#5c671f',
    950: '#000000',
  },
}
SCSS
$custom: #5c671f;
$custom-light: #8c925f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c671f",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 69.167,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.48911,
    "c": 0.09591,
    "h": 117.5
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#5C671F
secondary
#53469B
accent
#4BDD61
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0D05
muted
#7D7D79

Preview Lab

Preview with #5C671F

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

Preview Lab → · Contrast checker → · Palette generator →

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