#7E661A#7E661A

#7E661A is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 52.0% C 0.096 H 90.4°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#7E661A
RGBrgb(126, 102, 26)
HSLhsl(46, 66%, 30%)
HSVhsv(46, 79%, 49%)
CMYKcmyk(0%, 19%, 79.4%, 50.6%)
CIE-LABlab(44.25, 1.44, 43.69)
CIE-LCHlch(44.25, 43.71, 88.11°)
OKLaboklab(52% -0.0006 0.0956)
OKLCHoklch(52% 0.096 90.4)
XYZxyz(13.5428, 14.0138, 2.9687)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E661A #1A327E
analogous
#7E341A #7E661A #647E1A
triadic
#7E661A #1A7E66 #661A7E
tetradic
#7E661A #1A7E34 #1A327E #7E1A64
square
#7E661A #1A7E34 #1A327E #7E1A64
split-complementary
#7E661A #1A647E #341A7E
monochromatic
#191505 #4B3D10 #7E661A #B18F24 #D7B13C

Accessibility & contrast

On white

5.52
#7E661A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#7E661A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E661A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E661A#FFFFFF#000000##FFFFFF
##7E661A1.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#72650C
Deuteranopia (green-blind)
#786B1E
Tritanopia (blue-blind)
#895D57
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e661a;
/* rgb */ color: rgb(126, 102, 26);
/* oklch */ color: oklch(52.0% 0.096 90.4);
Tailwind
colors: {
  custom: {
    50: '#a7915d',
    500: '#7e661a',
    950: '#000000',
  },
}
SCSS
$custom: #7e661a;
$custom-light: #a7915d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e661a",
  "rgb": {
    "r": 126,
    "g": 102,
    "b": 26
  },
  "hsl": {
    "h": 45.6,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52,
    "c": 0.09562,
    "h": 90.4
  },
  "luminance": 0.14013
}

Semantic roles & 50–950 ramp

primary
#7E661A
secondary
#425DB2
accent
#68E93F
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E661A

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

Preview Lab → · Contrast checker → · Palette generator →

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