#7E6A10#7E6A10

#7E6A10 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.8% C 0.103 H 95.1°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7E6A10
RGBrgb(126, 106, 16)
HSLhsl(49, 77%, 28%)
HSVhsv(49, 87%, 49%)
CMYKcmyk(0%, 15.9%, 87.3%, 50.6%)
CIE-LABlab(45.33, -1.24, 48.05)
CIE-LCHlch(45.33, 48.07, 91.48°)
OKLaboklab(52.84% -0.0092 0.1028)
OKLCHoklch(52.84% 0.103 95.1)
XYZxyz(13.8525, 14.7819, 2.6137)
Luminance0.1478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6A10 #10247E
analogous
#7E3310 #7E6A10 #5B7E10
triadic
#7E6A10 #107E6A #6A107E
tetradic
#7E6A10 #107E33 #10247E #7E105B
square
#7E6A10 #107E33 #10247E #7E105B
split-complementary
#7E6A10 #105B7E #33107E
monochromatic
#1B1703 #483C09 #7E6A10 #B49817 #E3C125

Accessibility & contrast

On white

5.31
#7E6A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6A10
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6A10#FFFFFF#000000##FFFFFF
##7E6A101.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e6a10;
/* rgb */ color: rgb(126, 106, 16);
/* oklch */ color: oklch(52.8% 0.103 95.1);
Tailwind
colors: {
  custom: {
    50: '#a79459',
    500: '#7e6a10',
    950: '#000000',
  },
}
SCSS
$custom: #7e6a10;
$custom-light: #a79459;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6a10",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 49.091,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.52837,
    "c": 0.10324,
    "h": 95.1
  },
  "luminance": 0.14781
}

Semantic roles & 50–950 ramp

primary
#7E6A10
secondary
#364DB4
accent
#57F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6A10

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

Preview Lab → · Contrast checker → · Palette generator →

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