#7E6510#7E6510

#7E6510 is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.7% C 0.100 H 90.6°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#7E6510
RGBrgb(126, 101, 16)
HSLhsl(46, 77%, 28%)
HSVhsv(46, 87%, 49%)
CMYKcmyk(0%, 19.8%, 87.3%, 50.6%)
CIE-LABlab(43.92, 1.66, 46.87)
CIE-LCHlch(43.92, 46.90, 87.98°)
OKLaboklab(51.72% -0.001 0.1002)
OKLCHoklch(51.72% 0.1 90.6)
XYZxyz(13.3522, 13.7813, 2.4469)
Luminance0.1378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6510 #10297E
analogous
#7E2E10 #7E6510 #607E10
triadic
#7E6510 #107E65 #65107E
tetradic
#7E6510 #107E2E #10297E #7E1060
square
#7E6510 #107E2E #10297E #7E1060
split-complementary
#7E6510 #10607E #2E107E
monochromatic
#1B1603 #483909 #7E6510 #B49117 #E3B825

Accessibility & contrast

On white

5.59
#7E6510 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7E6510 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6510
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6510#FFFFFF#000000##FFFFFF
##7E65101.005.593.765.59
#FFFFFF5.591.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#786B16
Tritanopia (blue-blind)
#895B56
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7e6510;
/* rgb */ color: rgb(126, 101, 16);
/* oklch */ color: oklch(51.7% 0.100 90.6);
Tailwind
colors: {
  custom: {
    50: '#a89058',
    500: '#7e6510',
    950: '#000000',
  },
}
SCSS
$custom: #7e6510;
$custom-light: #a89058;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6510",
  "rgb": {
    "r": 126,
    "g": 101,
    "b": 16
  },
  "hsl": {
    "h": 46.364,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51718,
    "c": 0.10022,
    "h": 90.6
  },
  "luminance": 0.1378
}

Semantic roles & 50–950 ramp

primary
#7E6510
secondary
#3652B4
accent
#5FF434
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6510

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

Preview Lab → · Contrast checker → · Palette generator →

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