#7E6E15#7E6E15

#7E6E15 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.8% C 0.104 H 98.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7E6E15
RGBrgb(126, 110, 21)
HSLhsl(51, 71%, 29%)
HSVhsv(51, 83%, 49%)
CMYKcmyk(0%, 12.7%, 83.3%, 50.6%)
CIE-LABlab(46.50, -3.37, 47.53)
CIE-LCHlch(46.50, 47.65, 94.06°)
OKLaboklab(53.77% -0.0148 0.1028)
OKLCHoklch(53.77% 0.104 98.2)
XYZxyz(14.3162, 15.6424, 2.9745)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E15 #15257E
analogous
#7E3A15 #7E6E15 #5A7E15
triadic
#7E6E15 #157E6E #6E157E
tetradic
#7E6E15 #157E3A #15257E #7E155A
square
#7E6E15 #157E3A #15257E #7E155A
split-complementary
#7E6E15 #155A7E #3A157E
monochromatic
#1A1704 #4A400C #7E6E15 #B29C1E #DDC231

Accessibility & contrast

On white

5.09
#7E6E15 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7E6E15 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6E15
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6E15#FFFFFF#000000##FFFFFF
##7E6E151.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#7E711C
Tritanopia (blue-blind)
#89655E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7e6e15;
/* rgb */ color: rgb(126, 110, 21);
/* oklch */ color: oklch(53.8% 0.104 98.2);
Tailwind
colors: {
  custom: {
    50: '#a7975c',
    500: '#7e6e15',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e15;
$custom-light: #a7975c;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e15",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 21
  },
  "hsl": {
    "h": 50.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53769,
    "c": 0.10382,
    "h": 98.2
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

primary
#7E6E15
secondary
#3C4EB3
accent
#55EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6E15

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

Preview Lab → · Contrast checker → · Palette generator →

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