#7E6C10#7E6C10

#7E6C10 is a mid, moderate yellow. Relative luminance 0.152; OKLCH L 53.3% C 0.105 H 96.9°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7E6C10
RGBrgb(126, 108, 16)
HSLhsl(50, 77%, 28%)
HSVhsv(50, 87%, 49%)
CMYKcmyk(0%, 14.3%, 87.3%, 50.6%)
CIE-LABlab(45.91, -2.39, 48.53)
CIE-LCHlch(45.91, 48.59, 92.82°)
OKLaboklab(53.29% -0.0125 0.1039)
OKLCHoklch(53.29% 0.105 96.9)
XYZxyz(14.0611, 15.1989, 2.6832)
Luminance0.1520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6C10 #10227E
analogous
#7E3510 #7E6C10 #597E10
triadic
#7E6C10 #107E6C #6C107E
tetradic
#7E6C10 #107E35 #10227E #7E1059
square
#7E6C10 #107E35 #10227E #7E1059
split-complementary
#7E6C10 #10597E #35107E
monochromatic
#1B1703 #483D09 #7E6C10 #B49B17 #E3C425

Accessibility & contrast

On white

5.20
#7E6C10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#7E6C10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6C10
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6C10#FFFFFF#000000##FFFFFF
##7E6C101.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#7D6F18
Tritanopia (blue-blind)
#89635C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6c10;
/* rgb */ color: rgb(126, 108, 16);
/* oklch */ color: oklch(53.3% 0.105 96.9);
Tailwind
colors: {
  custom: {
    50: '#a79559',
    500: '#7e6c10',
    950: '#000000',
  },
}
SCSS
$custom: #7e6c10;
$custom-light: #a79559;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6c10",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 16
  },
  "hsl": {
    "h": 50.182,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53289,
    "c": 0.10462,
    "h": 96.9
  },
  "luminance": 0.15198
}

Semantic roles & 50–950 ramp

primary
#7E6C10
secondary
#364AB4
accent
#53F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6C10

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

Preview Lab → · Contrast checker → · Palette generator →

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