#5F670F#5F670F

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

Color values

HEX#5F670F
RGBrgb(95, 103, 15)
HSLhsl(65, 75%, 23%)
HSVhsv(65, 85%, 40%)
CMYKcmyk(7.8%, 0%, 85.4%, 59.6%)
CIE-LABlab(41.48, -14.46, 43.89)
CIE-LCHlch(41.48, 46.21, 108.24°)
OKLaboklab(49.06% -0.0446 0.0952)
OKLCHoklch(49.06% 0.105 115.1)
XYZxyz(9.6561, 12.1681, 2.2918)
Luminance0.1217 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F670F #170F67
analogous
#67430F #5F670F #33670F
triadic
#5F670F #0F5F67 #670F5F
tetradic
#5F670F #0F6743 #170F67 #670F33
square
#5F670F #0F6743 #170F67 #670F33
split-complementary
#5F670F #0F3367 #430F67
monochromatic
#191B04 #2E3207 #5F670F #909C17 #C2D21F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F670F#FFFFFF#000000##FFFFFF
##5F670F1.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)
#6F6318
Tritanopia (blue-blind)
#666057
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f670f;
/* rgb */ color: rgb(95, 103, 15);
/* oklch */ color: oklch(49.1% 0.105 115.1);
Tailwind
colors: {
  custom: {
    50: '#8f9257',
    500: '#5f670f',
    950: '#000000',
  },
}
SCSS
$custom: #5f670f;
$custom-light: #8f9257;
$custom-dark: #000000;
JSON
{
  "hex": "#5f670f",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 15
  },
  "hsl": {
    "h": 65.455,
    "s": 74.576,
    "l": 23.137
  },
  "oklch": {
    "l": 0.49059,
    "c": 0.10513,
    "h": 115.1
  },
  "luminance": 0.12168
}

Semantic roles & 50–950 ramp

primary
#5F670F
secondary
#3C32A0
accent
#37F148
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C04
muted
#7E7D79

Preview Lab

Preview with #5F670F

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

Preview Lab → · Contrast checker → · Palette generator →

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