#7E6A16#7E6A16

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

Color values

HEX#7E6A16
RGBrgb(126, 106, 22)
HSLhsl(48, 70%, 29%)
HSVhsv(48, 83%, 49%)
CMYKcmyk(0%, 15.9%, 82.5%, 50.6%)
CIE-LABlab(45.36, -1.04, 46.18)
CIE-LCHlch(45.36, 46.19, 91.29°)
OKLaboklab(52.87% -0.0081 0.1001)
OKLCHoklch(52.87% 0.1 94.6)
XYZxyz(13.9038, 14.8024, 2.8837)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6A16 #162A7E
analogous
#7E3616 #7E6A16 #5E7E16
triadic
#7E6A16 #167E6A #6A167E
tetradic
#7E6A16 #167E36 #162A7E #7E165E
square
#7E6A16 #167E36 #162A7E #7E165E
split-complementary
#7E6A16 #165E7E #36167E
monochromatic
#1A1605 #4A3E0D #7E6A16 #B2961F #DBBB33

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6A16#FFFFFF#000000##FFFFFF
##7E6A161.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)
#766802
Deuteranopia (green-blind)
#7B6E1C
Tritanopia (blue-blind)
#89615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6a16;
/* rgb */ color: rgb(126, 106, 22);
/* oklch */ color: oklch(52.9% 0.100 94.6);
Tailwind
colors: {
  custom: {
    50: '#a7945c',
    500: '#7e6a16',
    950: '#000000',
  },
}
SCSS
$custom: #7e6a16;
$custom-light: #a7945c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6a16",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 48.462,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52868,
    "c": 0.1004,
    "h": 94.6
  },
  "luminance": 0.14802
}

Semantic roles & 50–950 ramp

primary
#7E6A16
secondary
#3D54B3
accent
#5DED3B
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6A16

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

Preview Lab → · Contrast checker → · Palette generator →

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