#5C670F#5C670F

#5C670F is a mid, moderate yellow. Relative luminance 0.120; OKLCH L 48.8% C 0.106 H 117.0°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#5C670F
RGBrgb(92, 103, 15)
HSLhsl(68, 75%, 23%)
HSVhsv(68, 85%, 40%)
CMYKcmyk(10.7%, 0%, 85.4%, 59.6%)
CIE-LABlab(41.23, -15.88, 43.57)
CIE-LCHlch(41.23, 46.37, 110.02°)
OKLaboklab(48.8% -0.0483 0.0947)
OKLCHoklch(48.8% 0.106 117)
XYZxyz(9.3504, 12.0104, 2.2775)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C670F #1A0F67
analogous
#67460F #5C670F #30670F
triadic
#5C670F #0F5C67 #670F5C
tetradic
#5C670F #0F6746 #1A0F67 #670F30
square
#5C670F #0F6746 #1A0F67 #670F30
split-complementary
#5C670F #0F3067 #460F67
monochromatic
#181B04 #2C3207 #5C670F #8C9C17 #BBD21F

Accessibility & contrast

On white

6.17
#5C670F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#5C670F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C670F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C670F#FFFFFF#000000##FFFFFF
##5C670F1.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6E6218
Tritanopia (blue-blind)
#626157
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #5c670f;
/* rgb */ color: rgb(92, 103, 15);
/* oklch */ color: oklch(48.8% 0.106 117.0);
Tailwind
colors: {
  custom: {
    50: '#8d9257',
    500: '#5c670f',
    950: '#000000',
  },
}
SCSS
$custom: #5c670f;
$custom-light: #8d9257;
$custom-dark: #000000;
JSON
{
  "hex": "#5c670f",
  "rgb": {
    "r": 92,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 67.5,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.48797,
    "c": 0.10627,
    "h": 117
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#5C670F
secondary
#4032A0
accent
#37F14E
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D03
muted
#7D7D78

Preview Lab

Preview with #5C670F

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

Preview Lab → · Contrast checker → · Palette generator →

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