#7E671A#7E671A

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

Color values

HEX#7E671A
RGBrgb(126, 103, 26)
HSLhsl(46, 66%, 30%)
HSVhsv(46, 79%, 49%)
CMYKcmyk(0%, 18.3%, 79.4%, 50.6%)
CIE-LABlab(44.53, 0.86, 43.95)
CIE-LCHlch(44.53, 43.96, 88.88°)
OKLaboklab(52.22% -0.0023 0.0962)
OKLCHoklch(52.22% 0.096 91.4)
XYZxyz(13.6417, 14.2115, 3.0017)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E671A #1A317E
analogous
#7E351A #7E671A #637E1A
triadic
#7E671A #1A7E67 #671A7E
tetradic
#7E671A #1A7E35 #1A317E #7E1A63
square
#7E671A #1A7E35 #1A317E #7E1A63
split-complementary
#7E671A #1A637E #351A7E
monochromatic
#191505 #4B3E10 #7E671A #B19024 #D7B33C

Accessibility & contrast

On white

5.47
#7E671A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7E671A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E671A
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E671A#FFFFFF#000000##FFFFFF
##7E671A1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e671a;
/* rgb */ color: rgb(126, 103, 26);
/* oklch */ color: oklch(52.2% 0.096 91.4);
Tailwind
colors: {
  custom: {
    50: '#a7925d',
    500: '#7e671a',
    950: '#000000',
  },
}
SCSS
$custom: #7e671a;
$custom-light: #a7925d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e671a",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 26
  },
  "hsl": {
    "h": 46.2,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52222,
    "c": 0.09622,
    "h": 91.4
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

primary
#7E671A
secondary
#425CB2
accent
#66E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E671A

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

Preview Lab → · Contrast checker → · Palette generator →

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