#7E6C15#7E6C15

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

Color values

HEX#7E6C15
RGBrgb(126, 108, 21)
HSLhsl(50, 71%, 29%)
HSVhsv(50, 83%, 49%)
CMYKcmyk(0%, 14.3%, 83.3%, 50.6%)
CIE-LABlab(45.93, -2.23, 47.02)
CIE-LCHlch(45.93, 47.07, 92.71°)
OKLaboklab(53.31% -0.0116 0.1017)
OKLCHoklch(53.31% 0.102 96.5)
XYZxyz(14.1029, 15.2157, 2.9034)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6C15 #15277E
analogous
#7E3815 #7E6C15 #5C7E15
triadic
#7E6C15 #157E6C #6C157E
tetradic
#7E6C15 #157E38 #15277E #7E155C
square
#7E6C15 #157E38 #15277E #7E155C
split-complementary
#7E6C15 #155C7E #38157E
monochromatic
#1A1604 #4A3F0C #7E6C15 #B2991E #DDBF31

Accessibility & contrast

On white

5.19
#7E6C15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #7E6C15
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6C15#FFFFFF#000000##FFFFFF
##7E6C151.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e6c15;
/* rgb */ color: rgb(126, 108, 21);
/* oklch */ color: oklch(53.3% 0.102 96.5);
Tailwind
colors: {
  custom: {
    50: '#a7955b',
    500: '#7e6c15',
    950: '#000000',
  },
}
SCSS
$custom: #7e6c15;
$custom-light: #a7955b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6c15",
  "rgb": {
    "r": 126,
    "g": 108,
    "b": 21
  },
  "hsl": {
    "h": 49.714,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53314,
    "c": 0.10232,
    "h": 96.5
  },
  "luminance": 0.15215
}

Semantic roles & 50–950 ramp

primary
#7E6C15
secondary
#3C50B3
accent
#59EE3A
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6C15

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

Preview Lab → · Contrast checker → · Palette generator →

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