#5F671C#5F671C

#5F671C is a mid, moderate yellow. Relative luminance 0.122; OKLCH L 49.1% C 0.097 H 115.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5F671C
RGBrgb(95, 103, 28)
HSLhsl(66, 57%, 26%)
HSVhsv(66, 73%, 40%)
CMYKcmyk(7.8%, 0%, 72.8%, 59.6%)
CIE-LABlab(41.56, -13.81, 39.23)
CIE-LCHlch(41.56, 41.59, 109.39°)
OKLaboklab(49.15% -0.0416 0.0878)
OKLCHoklch(49.15% 0.097 115.3)
XYZxyz(9.7794, 12.2174, 2.9414)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F671C #241C67
analogous
#67491C #5F671C #39671C
triadic
#5F671C #1C5F67 #671C5F
tetradic
#5F671C #1C6749 #241C67 #671C39
square
#5F671C #1C6749 #241C67 #671C39
split-complementary
#5F671C #1C3967 #491C67
monochromatic
#161807 #33370F #5F671C #8B9729 #B8C736

Accessibility & contrast

On white

6.10
#5F671C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#5F671C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F671C
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F671C#FFFFFF#000000##FFFFFF
##5F671C1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6210
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#656158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f671c;
/* rgb */ color: rgb(95, 103, 28);
/* oklch */ color: oklch(49.1% 0.097 115.3);
Tailwind
colors: {
  custom: {
    50: '#8f925d',
    500: '#5f671c',
    950: '#000000',
  },
}
SCSS
$custom: #5f671c;
$custom-light: #8f925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f671c",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 66.4,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.49146,
    "c": 0.09717,
    "h": 115.3
  },
  "luminance": 0.12217
}

Semantic roles & 50–950 ramp

primary
#5F671C
secondary
#4C439C
accent
#47E158
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5F671C

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

Preview Lab → · Contrast checker → · Palette generator →

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