#7D671A#7D671A

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

Color values

HEX#7D671A
RGBrgb(125, 103, 26)
HSLhsl(47, 66%, 30%)
HSVhsv(47, 79%, 49%)
CMYKcmyk(0%, 17.6%, 79.2%, 51%)
CIE-LABlab(44.43, 0.38, 43.81)
CIE-LCHlch(44.43, 43.81, 89.50°)
OKLaboklab(52.11% -0.0036 0.0959)
OKLCHoklch(52.11% 0.096 92.1)
XYZxyz(13.4949, 14.1359, 2.9948)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D671A #1A307D
analogous
#7D361A #7D671A #617D1A
triadic
#7D671A #1A7D67 #671A7D
tetradic
#7D671A #1A7D36 #1A307D #7D1A61
square
#7D671A #1A7D36 #1A307D #7D1A61
split-complementary
#7D671A #1A617D #361A7D
monochromatic
#191505 #4A3D0F #7D671A #B09125 #D6B43B

Accessibility & contrast

On white

5.49
#7D671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7D671A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D671A#FFFFFF#000000##FFFFFF
##7D671A1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#73650C
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#885E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d671a;
/* rgb */ color: rgb(125, 103, 26);
/* oklch */ color: oklch(52.1% 0.096 92.1);
Tailwind
colors: {
  custom: {
    50: '#a6925d',
    500: '#7d671a',
    950: '#000000',
  },
}
SCSS
$custom: #7d671a;
$custom-light: #a6925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d671a",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 46.667,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52112,
    "c": 0.09601,
    "h": 92.1
  },
  "luminance": 0.14135
}

Semantic roles & 50–950 ramp

primary
#7D671A
secondary
#425AB1
accent
#65E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7D671A

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

Preview Lab → · Contrast checker → · Palette generator →

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