#7E6A15#7E6A15

#7E6A15 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.9% C 0.101 H 94.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7E6A15
RGBrgb(126, 106, 21)
HSLhsl(49, 71%, 29%)
HSVhsv(49, 83%, 49%)
CMYKcmyk(0%, 15.9%, 83.3%, 50.6%)
CIE-LABlab(45.36, -1.08, 46.52)
CIE-LCHlch(45.36, 46.53, 91.33°)
OKLaboklab(52.86% -0.0083 0.1006)
OKLCHoklch(52.86% 0.101 94.7)
XYZxyz(13.8944, 14.7986, 2.8339)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6A15 #15297E
analogous
#7E3615 #7E6A15 #5E7E15
triadic
#7E6A15 #157E6A #6A157E
tetradic
#7E6A15 #157E36 #15297E #7E155E
square
#7E6A15 #157E36 #15297E #7E155E
split-complementary
#7E6A15 #155E7E #36157E
monochromatic
#1A1604 #4A3E0C #7E6A15 #B2961E #DDBC31

Accessibility & contrast

On white

5.30
#7E6A15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7E6A15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6A15
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6A15#FFFFFF#000000##FFFFFF
##7E6A151.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#7B6E1B
Tritanopia (blue-blind)
#89615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6a15;
/* rgb */ color: rgb(126, 106, 21);
/* oklch */ color: oklch(52.9% 0.101 94.7);
Tailwind
colors: {
  custom: {
    50: '#a7945b',
    500: '#7e6a15',
    950: '#000000',
  },
}
SCSS
$custom: #7e6a15;
$custom-light: #a7945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6a15",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 21
  },
  "hsl": {
    "h": 48.571,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52863,
    "c": 0.10093,
    "h": 94.7
  },
  "luminance": 0.14798
}

Semantic roles & 50–950 ramp

primary
#7E6A15
secondary
#3C52B3
accent
#5CEE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6A15

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

Preview Lab → · Contrast checker → · Palette generator →

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