#7F671D#7F671D

#7F671D is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 52.4% C 0.095 H 90.2°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#7F671D
RGBrgb(127, 103, 29)
HSLhsl(45, 63%, 31%)
HSVhsv(45, 77%, 50%)
CMYKcmyk(0%, 18.9%, 77.2%, 50.2%)
CIE-LABlab(44.66, 1.48, 42.91)
CIE-LCHlch(44.66, 42.93, 88.03°)
OKLaboklab(52.36% -0.0002 0.0946)
OKLCHoklch(52.36% 0.095 90.2)
XYZxyz(13.8252, 14.3021, 3.1946)
Luminance0.1430 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F671D #1D357F
analogous
#7F361D #7F671D #667F1D
triadic
#7F671D #1D7F67 #671D7F
tetradic
#7F671D #1D7F36 #1D357F #7F1D66
square
#7F671D #1D7F36 #1D357F #7F1D66
split-complementary
#7F671D #1D667F #361D7F
monochromatic
#1B1606 #4D3F12 #7F671D #B18F28 #D4B042

Accessibility & contrast

On white

5.44
#7F671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#7F671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7F671D
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F671D#FFFFFF#000000##FFFFFF
##7F671D1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736611
Deuteranopia (green-blind)
#796C21
Tritanopia (blue-blind)
#8A5E58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7f671d;
/* rgb */ color: rgb(127, 103, 29);
/* oklch */ color: oklch(52.4% 0.095 90.2);
Tailwind
colors: {
  custom: {
    50: '#a8925f',
    500: '#7f671d',
    950: '#000000',
  },
}
SCSS
$custom: #7f671d;
$custom-light: #a8925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7f671d",
  "rgb": {
    "r": 127,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 45.306,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52355,
    "c": 0.09457,
    "h": 90.2
  },
  "luminance": 0.14301
}

Semantic roles & 50–950 ramp

primary
#7F671D
secondary
#4560B2
accent
#6AE642
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7F671D

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

Preview Lab → · Contrast checker → · Palette generator →

#7F671D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva