#7D671F#7D671F

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

Color values

HEX#7D671F
RGBrgb(125, 103, 31)
HSLhsl(46, 60%, 31%)
HSVhsv(46, 75%, 49%)
CMYKcmyk(0%, 17.6%, 75.2%, 51%)
CIE-LABlab(44.46, 0.62, 41.79)
CIE-LCHlch(44.46, 41.80, 89.14°)
OKLaboklab(52.15% -0.0023 0.0927)
OKLCHoklch(52.15% 0.093 91.4)
XYZxyz(13.5558, 14.1602, 3.3153)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D671F #1F357D
analogous
#7D381F #7D671F #647D1F
triadic
#7D671F #1F7D67 #671F7D
tetradic
#7D671F #1F7D38 #1F357D #7D1F64
square
#7D671F #1F7D38 #1F357D #7D1F64
split-complementary
#7D671F #1F647D #381F7D
monochromatic
#1B1607 #4C3F13 #7D671F #AE8F2B #D1B045

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D671F#FFFFFF#000000##FFFFFF
##7D671F1.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)
#736514
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#885E59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d671f;
/* rgb */ color: rgb(125, 103, 31);
/* oklch */ color: oklch(52.2% 0.093 91.4);
Tailwind
colors: {
  custom: {
    50: '#a69260',
    500: '#7d671f',
    950: '#000000',
  },
}
SCSS
$custom: #7d671f;
$custom-light: #a69260;
$custom-dark: #000000;
JSON
{
  "hex": "#7d671f",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 31
  },
  "hsl": {
    "h": 45.957,
    "s": 60.256,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52151,
    "c": 0.09275,
    "h": 91.4
  },
  "luminance": 0.14159
}

Semantic roles & 50–950 ramp

primary
#7D671F
secondary
#4860B0
accent
#6AE344
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D671F

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

Preview Lab → · Contrast checker → · Palette generator →

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