#5F671A#5F671A

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

Color values

HEX#5F671A
RGBrgb(95, 103, 26)
HSLhsl(66, 60%, 25%)
HSVhsv(66, 75%, 40%)
CMYKcmyk(7.8%, 0%, 74.8%, 59.6%)
CIE-LABlab(41.55, -13.93, 40.05)
CIE-LCHlch(41.55, 42.40, 109.18°)
OKLaboklab(49.13% -0.0421 0.0892)
OKLCHoklch(49.13% 0.099 115.3)
XYZxyz(9.7563, 12.2081, 2.8195)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F671A #221A67
analogous
#67481A #5F671A #38671A
triadic
#5F671A #1A5F67 #671A5F
tetradic
#5F671A #1A6748 #221A67 #671A38
square
#5F671A #1A6748 #221A67 #671A38
split-complementary
#5F671A #1A3867 #481A67
monochromatic
#171806 #32360E #5F671A #8C9826 #B9C933

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F671A#FFFFFF#000000##FFFFFF
##5F671A1.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)
#6F610D
Deuteranopia (green-blind)
#6E6320
Tritanopia (blue-blind)
#656158
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5f671a;
/* rgb */ color: rgb(95, 103, 26);
/* oklch */ color: oklch(49.1% 0.099 115.3);
Tailwind
colors: {
  custom: {
    50: '#8f925c',
    500: '#5f671a',
    950: '#000000',
  },
}
SCSS
$custom: #5f671a;
$custom-light: #8f925c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f671a",
  "rgb": {
    "r": 95,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 66.234,
    "s": 59.69,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4913,
    "c": 0.09862,
    "h": 115.3
  },
  "luminance": 0.12208
}

Semantic roles & 50–950 ramp

primary
#5F671A
secondary
#4A409D
accent
#45E355
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0D04
muted
#7E7D79

Preview Lab

Preview with #5F671A

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

Preview Lab → · Contrast checker → · Palette generator →

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