#5F671D#5F671D

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

Color values

HEX#5F671D
RGBrgb(95, 103, 29)
HSLhsl(66, 56%, 26%)
HSVhsv(66, 72%, 40%)
CMYKcmyk(7.8%, 0%, 71.8%, 59.6%)
CIE-LABlab(41.57, -13.74, 38.81)
CIE-LCHlch(41.57, 41.17, 109.50°)
OKLaboklab(49.16% -0.0413 0.0871)
OKLCHoklch(49.16% 0.096 115.3)
XYZxyz(9.7916, 12.2223, 3.0055)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F671D #251D67
analogous
#674A1D #5F671D #3A671D
triadic
#5F671D #1D5F67 #671D5F
tetradic
#5F671D #1D674A #251D67 #671D3A
square
#5F671D #1D674A #251D67 #671D3A
split-complementary
#5F671D #1D3A67 #4A1D67
monochromatic
#161807 #333710 #5F671D #8B972A #B7C738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F671D#FFFFFF#000000##FFFFFF
##5F671D1.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)
#6F6212
Deuteranopia (green-blind)
#6E6322
Tritanopia (blue-blind)
#656158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f671d;
/* rgb */ color: rgb(95, 103, 29);
/* oklch */ color: oklch(49.2% 0.096 115.3);
Tailwind
colors: {
  custom: {
    50: '#8f925e',
    500: '#5f671d',
    950: '#000000',
  },
}
SCSS
$custom: #5f671d;
$custom-light: #8f925e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f671d",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 66.486,
    "s": 56.061,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49155,
    "c": 0.09641,
    "h": 115.3
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#5F671D
secondary
#4D449C
accent
#48DF59
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D05
muted
#7E7D79

Preview Lab

Preview with #5F671D

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

Preview Lab → · Contrast checker → · Palette generator →

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