#7D671C#7D671C

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

Color values

HEX#7D671C
RGBrgb(125, 103, 28)
HSLhsl(46, 63%, 30%)
HSVhsv(46, 78%, 49%)
CMYKcmyk(0%, 17.6%, 77.6%, 51%)
CIE-LABlab(44.44, 0.47, 43.03)
CIE-LCHlch(44.44, 43.03, 89.37°)
OKLaboklab(52.13% -0.0031 0.0947)
OKLCHoklch(52.13% 0.095 91.9)
XYZxyz(13.5181, 14.1451, 3.1167)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D671C #1C327D
analogous
#7D371C #7D671C #627D1C
triadic
#7D671C #1C7D67 #671C7D
tetradic
#7D671C #1C7D37 #1C327D #7D1C62
square
#7D671C #1C7D37 #1C327D #7D1C62
split-complementary
#7D671C #1C627D #371C7D
monochromatic
#191506 #4B3E11 #7D671C #AF9027 #D4B23F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D671C#FFFFFF#000000##FFFFFF
##7D671C1.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)
#73650F
Deuteranopia (green-blind)
#786C20
Tritanopia (blue-blind)
#885E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d671c;
/* rgb */ color: rgb(125, 103, 28);
/* oklch */ color: oklch(52.1% 0.095 91.9);
Tailwind
colors: {
  custom: {
    50: '#a6925e',
    500: '#7d671c',
    950: '#000000',
  },
}
SCSS
$custom: #7d671c;
$custom-light: #a6925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d671c",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 28
  },
  "hsl": {
    "h": 46.392,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52127,
    "c": 0.09476,
    "h": 91.9
  },
  "luminance": 0.14144
}

Semantic roles & 50–950 ramp

primary
#7D671C
secondary
#445DB1
accent
#67E641
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D671C

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

Preview Lab → · Contrast checker → · Palette generator →

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