#7E6D10#7E6D10

#7E6D10 is a mid, moderate yellow. Relative luminance 0.154; OKLCH L 53.5% C 0.105 H 97.7°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#7E6D10
RGBrgb(126, 109, 16)
HSLhsl(51, 77%, 28%)
HSVhsv(51, 87%, 49%)
CMYKcmyk(0%, 13.5%, 87.3%, 50.6%)
CIE-LABlab(46.19, -2.96, 48.77)
CIE-LCHlch(46.19, 48.86, 93.48°)
OKLaboklab(53.52% -0.0141 0.1044)
OKLCHoklch(53.52% 0.105 97.7)
XYZxyz(14.1671, 15.4111, 2.7185)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6D10 #10217E
analogous
#7E3610 #7E6D10 #587E10
triadic
#7E6D10 #107E6D #6D107E
tetradic
#7E6D10 #107E36 #10217E #7E1058
square
#7E6D10 #107E36 #10217E #7E1058
split-complementary
#7E6D10 #10587E #36107E
monochromatic
#1B1703 #483E09 #7E6D10 #B49C17 #E3C625

Accessibility & contrast

On white

5.14
#7E6D10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#7E6D10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6D10
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6D10#FFFFFF#000000##FFFFFF
##7E6D101.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#7E7018
Tritanopia (blue-blind)
#89645D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7e6d10;
/* rgb */ color: rgb(126, 109, 16);
/* oklch */ color: oklch(53.5% 0.105 97.7);
Tailwind
colors: {
  custom: {
    50: '#a79659',
    500: '#7e6d10',
    950: '#000000',
  },
}
SCSS
$custom: #7e6d10;
$custom-light: #a79659;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6d10",
  "rgb": {
    "r": 126,
    "g": 109,
    "b": 16
  },
  "hsl": {
    "h": 50.727,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53516,
    "c": 0.10535,
    "h": 97.7
  },
  "luminance": 0.1541
}

Semantic roles & 50–950 ramp

primary
#7E6D10
secondary
#3649B4
accent
#52F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6D10

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

Preview Lab → · Contrast checker → · Palette generator →

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