#7E6E1A#7E6E1A

#7E6E1A is a mid, moderate yellow. Relative luminance 0.157; OKLCH L 53.8% C 0.101 H 97.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7E6E1A
RGBrgb(126, 110, 26)
HSLhsl(50, 66%, 30%)
HSVhsv(50, 79%, 49%)
CMYKcmyk(0%, 12.7%, 79.4%, 50.6%)
CIE-LABlab(46.53, -3.17, 45.81)
CIE-LCHlch(46.53, 45.92, 93.96°)
OKLaboklab(53.8% -0.0138 0.1002)
OKLCHoklch(53.8% 0.101 97.8)
XYZxyz(14.3673, 15.6628, 3.2435)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E1A #1A2A7E
analogous
#7E3C1A #7E6E1A #5C7E1A
triadic
#7E6E1A #1A7E6E #6E1A7E
tetradic
#7E6E1A #1A7E3C #1A2A7E #7E1A5C
square
#7E6E1A #1A7E3C #1A2A7E #7E1A5C
split-complementary
#7E6E1A #1A5C7E #3C1A7E
monochromatic
#191605 #4B4210 #7E6E1A #B19A24 #D7BE3C

Accessibility & contrast

On white

5.08
#7E6E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E6E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E1A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E1A#FFFFFF#000000##FFFFFF
##7E6E1A1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B08
Deuteranopia (green-blind)
#7E7120
Tritanopia (blue-blind)
#88655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e1a;
/* rgb */ color: rgb(126, 110, 26);
/* oklch */ color: oklch(53.8% 0.101 97.8);
Tailwind
colors: {
  custom: {
    50: '#a7975e',
    500: '#7e6e1a',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e1a;
$custom-light: #a7975e;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e1a",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 26
  },
  "hsl": {
    "h": 50.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.53799,
    "c": 0.10109,
    "h": 97.8
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#7E6E1A
secondary
#4254B2
accent
#5AE93F
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79

Preview Lab

Preview with #7E6E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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