#5F671B#5F671B

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

Color values

HEX#5F671B
RGBrgb(95, 103, 27)
HSLhsl(66, 58%, 25%)
HSVhsv(66, 74%, 40%)
CMYKcmyk(7.8%, 0%, 73.8%, 59.6%)
CIE-LABlab(41.55, -13.87, 39.64)
CIE-LCHlch(41.55, 42.00, 109.28°)
OKLaboklab(49.14% -0.0418 0.0885)
OKLCHoklch(49.14% 0.098 115.3)
XYZxyz(9.7676, 12.2127, 2.8794)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F671B #231B67
analogous
#67491B #5F671B #39671B
triadic
#5F671B #1B5F67 #671B5F
tetradic
#5F671B #1B6749 #231B67 #671B39
square
#5F671B #1B6749 #231B67 #671B39
split-complementary
#5F671B #1B3967 #491B67
monochromatic
#161806 #32370E #5F671B #8C9728 #B8C834

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F671B#FFFFFF#000000##FFFFFF
##5F671B1.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)
#6F620E
Deuteranopia (green-blind)
#6E6321
Tritanopia (blue-blind)
#656158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f671b;
/* rgb */ color: rgb(95, 103, 27);
/* oklch */ color: oklch(49.1% 0.098 115.3);
Tailwind
colors: {
  custom: {
    50: '#8f925d',
    500: '#5f671b',
    950: '#000000',
  },
}
SCSS
$custom: #5f671b;
$custom-light: #8f925d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f671b",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 66.316,
    "s": 58.462,
    "l": 25.49
  },
  "oklch": {
    "l": 0.49138,
    "c": 0.09791,
    "h": 115.3
  },
  "luminance": 0.12213
}

Semantic roles & 50–950 ramp

primary
#5F671B
secondary
#4B429C
accent
#46E257
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5F671B

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

Preview Lab → · Contrast checker → · Palette generator →

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