#7E6E10#7E6E10

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

Color values

HEX#7E6E10
RGBrgb(126, 110, 16)
HSLhsl(51, 77%, 28%)
HSVhsv(51, 87%, 49%)
CMYKcmyk(0%, 12.7%, 87.3%, 50.6%)
CIE-LABlab(46.48, -3.54, 49.01)
CIE-LCHlch(46.48, 49.14, 94.13°)
OKLaboklab(53.74% -0.0157 0.1049)
OKLCHoklch(53.74% 0.106 98.5)
XYZxyz(14.2744, 15.6257, 2.7543)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6E10 #10207E
analogous
#7E3710 #7E6E10 #577E10
triadic
#7E6E10 #107E6E #6E107E
tetradic
#7E6E10 #107E37 #10207E #7E1057
square
#7E6E10 #107E37 #10207E #7E1057
split-complementary
#7E6E10 #10577E #37107E
monochromatic
#1B1803 #483F09 #7E6E10 #B49D17 #E3C825

Accessibility & contrast

On white

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

On black

4.12
#7E6E10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##7E6E10#FFFFFF#000000##FFFFFF
##7E6E101.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e6e10;
/* rgb */ color: rgb(126, 110, 16);
/* oklch */ color: oklch(53.7% 0.106 98.5);
Tailwind
colors: {
  custom: {
    50: '#a7975a',
    500: '#7e6e10',
    950: '#000000',
  },
}
SCSS
$custom: #7e6e10;
$custom-light: #a7975a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6e10",
  "rgb": {
    "r": 126,
    "g": 110,
    "b": 16
  },
  "hsl": {
    "h": 51.273,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53744,
    "c": 0.10609,
    "h": 98.5
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#7E6E10
secondary
#3648B4
accent
#50F434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6E10

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

Preview Lab → · Contrast checker → · Palette generator →

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