#7D671E#7D671E

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

Color values

HEX#7D671E
RGBrgb(125, 103, 30)
HSLhsl(46, 61%, 30%)
HSVhsv(46, 76%, 49%)
CMYKcmyk(0%, 17.6%, 76%, 51%)
CIE-LABlab(44.45, 0.57, 42.21)
CIE-LCHlch(44.45, 42.22, 89.22°)
OKLaboklab(52.14% -0.0026 0.0934)
OKLCHoklch(52.14% 0.093 91.6)
XYZxyz(13.5428, 14.1550, 3.2469)
Luminance0.1415 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D671E #1E347D
analogous
#7D371E #7D671E #637D1E
triadic
#7D671E #1E7D67 #671E7D
tetradic
#7D671E #1E7D37 #1E347D #7D1E63
square
#7D671E #1E7D37 #1E347D #7D1E63
split-complementary
#7D671E #1E637D #371E7D
monochromatic
#1A1606 #4C3E12 #7D671E #AE902A #D2B143

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D671E#FFFFFF#000000##FFFFFF
##7D671E1.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)
#736513
Deuteranopia (green-blind)
#786C22
Tritanopia (blue-blind)
#885E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d671e;
/* rgb */ color: rgb(125, 103, 30);
/* oklch */ color: oklch(52.1% 0.093 91.6);
Tailwind
colors: {
  custom: {
    50: '#a6925f',
    500: '#7d671e',
    950: '#000000',
  },
}
SCSS
$custom: #7d671e;
$custom-light: #a6925f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d671e",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 30
  },
  "hsl": {
    "h": 46.105,
    "s": 61.29,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52143,
    "c": 0.09344,
    "h": 91.6
  },
  "luminance": 0.14154
}

Semantic roles & 50–950 ramp

primary
#7D671E
secondary
#465FB0
accent
#69E443
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D671E

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

Preview Lab → · Contrast checker → · Palette generator →

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