#7E6F10#7E6F10

#7E6F10 is a mid, moderate yellow. Relative luminance 0.158; OKLCH L 54.0% C 0.107 H 99.3°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#7E6F10
RGBrgb(126, 111, 16)
HSLhsl(52, 77%, 28%)
HSVhsv(52, 87%, 49%)
CMYKcmyk(0%, 11.9%, 87.3%, 50.6%)
CIE-LABlab(46.77, -4.11, 49.25)
CIE-LCHlch(46.77, 49.42, 94.76°)
OKLaboklab(53.97% -0.0173 0.1055)
OKLCHoklch(53.97% 0.107 99.3)
XYZxyz(14.3829, 15.8427, 2.7905)
Luminance0.1584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6F10 #101F7E
analogous
#7E3810 #7E6F10 #567E10
triadic
#7E6F10 #107E6F #6F107E
tetradic
#7E6F10 #107E38 #101F7E #7E1056
square
#7E6F10 #107E38 #101F7E #7E1056
split-complementary
#7E6F10 #10567E #38107E
monochromatic
#1B1803 #483F09 #7E6F10 #B49F17 #E3C925

Accessibility & contrast

On white

5.04
#7E6F10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#7E6F10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6F10
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6F10#FFFFFF#000000##FFFFFF
##7E6F101.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#7F7118
Tritanopia (blue-blind)
#89665E
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7e6f10;
/* rgb */ color: rgb(126, 111, 16);
/* oklch */ color: oklch(54.0% 0.107 99.3);
Tailwind
colors: {
  custom: {
    50: '#a7975a',
    500: '#7e6f10',
    950: '#000000',
  },
}
SCSS
$custom: #7e6f10;
$custom-light: #a7975a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6f10",
  "rgb": {
    "r": 126,
    "g": 111,
    "b": 16
  },
  "hsl": {
    "h": 51.818,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.10686,
    "h": 99.3
  },
  "luminance": 0.15842
}

Semantic roles & 50–950 ramp

primary
#7E6F10
secondary
#3647B4
accent
#4EF434
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6F10

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

Preview Lab → · Contrast checker → · Palette generator →

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