#5F671F#5F671F

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

Color values

HEX#5F671F
RGBrgb(95, 103, 31)
HSLhsl(67, 54%, 26%)
HSVhsv(67, 70%, 40%)
CMYKcmyk(7.8%, 0%, 69.9%, 59.6%)
CIE-LABlab(41.58, -13.61, 37.95)
CIE-LCHlch(41.58, 40.32, 109.73°)
OKLaboklab(49.17% -0.0407 0.0857)
OKLCHoklch(49.17% 0.095 115.4)
XYZxyz(9.8171, 12.2325, 3.1400)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F671F #271F67
analogous
#674B1F #5F671F #3B671F
triadic
#5F671F #1F5F67 #671F5F
tetradic
#5F671F #1F674B #271F67 #671F3B
square
#5F671F #1F674B #271F67 #671F3B
split-complementary
#5F671F #1F3B67 #4B1F67
monochromatic
#161807 #343811 #5F671F #8A962D #B5C43C

Accessibility & contrast

On white

6.09
#5F671F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5F671F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F671F
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F671F#FFFFFF#000000##FFFFFF
##5F671F1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f671f;
/* rgb */ color: rgb(95, 103, 31);
/* oklch */ color: oklch(49.2% 0.095 115.4);
Tailwind
colors: {
  custom: {
    50: '#8f925f',
    500: '#5f671f',
    950: '#000000',
  },
}
SCSS
$custom: #5f671f;
$custom-light: #8f925f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f671f",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 66.667,
    "s": 53.731,
    "l": 26.275
  },
  "oklch": {
    "l": 0.49173,
    "c": 0.09483,
    "h": 115.4
  },
  "luminance": 0.12232
}

Semantic roles & 50–950 ramp

primary
#5F671F
secondary
#50469B
accent
#4BDD5B
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0D05
muted
#7D7D79

Preview Lab

Preview with #5F671F

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

Preview Lab → · Contrast checker → · Palette generator →

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