#7D671B#7D671B

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

Color values

HEX#7D671B
RGBrgb(125, 103, 27)
HSLhsl(47, 64%, 30%)
HSVhsv(47, 78%, 49%)
CMYKcmyk(0%, 17.6%, 78.4%, 51%)
CIE-LABlab(44.43, 0.43, 43.42)
CIE-LCHlch(44.43, 43.43, 89.44°)
OKLaboklab(52.12% -0.0034 0.0953)
OKLCHoklch(52.12% 0.095 92)
XYZxyz(13.5063, 14.1404, 3.0547)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D671B #1B317D
analogous
#7D361B #7D671B #627D1B
triadic
#7D671B #1B7D67 #671B7D
tetradic
#7D671B #1B7D36 #1B317D #7D1B62
square
#7D671B #1B7D36 #1B317D #7D1B62
split-complementary
#7D671B #1B627D #361B7D
monochromatic
#191505 #4B3E10 #7D671B #AF9026 #D5B33D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D671B#FFFFFF#000000##FFFFFF
##7D671B1.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)
#73650E
Deuteranopia (green-blind)
#796C1F
Tritanopia (blue-blind)
#885E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7d671b;
/* rgb */ color: rgb(125, 103, 27);
/* oklch */ color: oklch(52.1% 0.095 92.0);
Tailwind
colors: {
  custom: {
    50: '#a6925e',
    500: '#7d671b',
    950: '#000000',
  },
}
SCSS
$custom: #7d671b;
$custom-light: #a6925e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d671b",
  "rgb": {
    "r": 125,
    "g": 103,
    "b": 27
  },
  "hsl": {
    "h": 46.531,
    "s": 64.474,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5212,
    "c": 0.09539,
    "h": 92
  },
  "luminance": 0.1414
}

Semantic roles & 50–950 ramp

primary
#7D671B
secondary
#435CB1
accent
#66E740
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7D671B

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

Preview Lab → · Contrast checker → · Palette generator →

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