#7D671D#7D671D

#7D671D is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.1% C 0.094 H 91.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#7D671D
RGBrgb(125, 103, 29)
HSLhsl(46, 62%, 30%)
HSVhsv(46, 77%, 49%)
CMYKcmyk(0%, 17.6%, 76.8%, 51%)
CIE-LABlab(44.45, 0.52, 42.62)
CIE-LCHlch(44.45, 42.63, 89.30°)
OKLaboklab(52.14% -0.0028 0.0941)
OKLCHoklch(52.14% 0.094 91.7)
XYZxyz(13.5302, 14.1500, 3.1807)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D671D #1D337D
analogous
#7D371D #7D671D #637D1D
triadic
#7D671D #1D7D67 #671D7D
tetradic
#7D671D #1D7D37 #1D337D #7D1D63
square
#7D671D #1D7D37 #1D337D #7D1D63
split-complementary
#7D671D #1D637D #371D7D
monochromatic
#1A1506 #4B3E11 #7D671D #AF9029 #D3B241

Accessibility & contrast

On white

5.48
#7D671D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#7D671D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7D671D
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D671D#FFFFFF#000000##FFFFFF
##7D671D1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736511
Deuteranopia (green-blind)
#786C21
Tritanopia (blue-blind)
#885E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d671d;
/* rgb */ color: rgb(125, 103, 29);
/* oklch */ color: oklch(52.1% 0.094 91.7);
Tailwind
colors: {
  custom: {
    50: '#a6925f',
    500: '#7d671d',
    950: '#000000',
  },
}
SCSS
$custom: #7d671d;
$custom-light: #a6925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d671d",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 29
  },
  "hsl": {
    "h": 46.25,
    "s": 62.338,
    "l": 30.196
  },
  "oklch": {
    "l": 0.52135,
    "c": 0.0941,
    "h": 91.7
  },
  "luminance": 0.14149
}

Semantic roles & 50–950 ramp

primary
#7D671D
secondary
#455EB1
accent
#68E542
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D671D

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

Preview Lab → · Contrast checker → · Palette generator →

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