#5F670E#5F670E

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

Color values

HEX#5F670E
RGBrgb(95, 103, 14)
HSLhsl(65, 76%, 23%)
HSVhsv(65, 86%, 40%)
CMYKcmyk(7.8%, 0%, 86.4%, 59.6%)
CIE-LABlab(41.48, -14.50, 44.17)
CIE-LCHlch(41.48, 46.49, 108.17°)
OKLaboklab(49.05% -0.0448 0.0956)
OKLCHoklch(49.05% 0.106 115.1)
XYZxyz(9.6491, 12.1653, 2.2552)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F670E #160E67
analogous
#67420E #5F670E #33670E
triadic
#5F670E #0E5F67 #670E5F
tetradic
#5F670E #0E6742 #160E67 #670E33
square
#5F670E #0E6742 #160E67 #670E33
split-complementary
#5F670E #0E3367 #420E67
monochromatic
#191B04 #2D3107 #5F670E #919D15 #C2D31D

Accessibility & contrast

On white

6.12
#5F670E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#5F670E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F670E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F670E#FFFFFF#000000##FFFFFF
##5F670E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6100
Deuteranopia (green-blind)
#6F6317
Tritanopia (blue-blind)
#666057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f670e;
/* rgb */ color: rgb(95, 103, 14);
/* oklch */ color: oklch(49.1% 0.106 115.1);
Tailwind
colors: {
  custom: {
    50: '#8f9257',
    500: '#5f670e',
    950: '#000000',
  },
}
SCSS
$custom: #5f670e;
$custom-light: #8f9257;
$custom-dark: #000000;
JSON
{
  "hex": "#5f670e",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 14
  },
  "hsl": {
    "h": 65.393,
    "s": 76.068,
    "l": 22.941
  },
  "oklch": {
    "l": 0.49054,
    "c": 0.10559,
    "h": 115.1
  },
  "luminance": 0.12165
}

Semantic roles & 50–950 ramp

primary
#5F670E
secondary
#3B31A0
accent
#35F346
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5F670E

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

Preview Lab → · Contrast checker → · Palette generator →

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