#7E6B10#7E6B10

#7E6B10 is a mid, moderate yellow. Relative luminance 0.150; OKLCH L 53.1% C 0.104 H 96.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#7E6B10
RGBrgb(126, 107, 16)
HSLhsl(50, 77%, 28%)
HSVhsv(50, 87%, 49%)
CMYKcmyk(0%, 15.1%, 87.3%, 50.6%)
CIE-LABlab(45.62, -1.82, 48.29)
CIE-LCHlch(45.62, 48.33, 92.16°)
OKLaboklab(53.06% -0.0109 0.1033)
OKLCHoklch(53.06% 0.104 96)
XYZxyz(13.9562, 14.9892, 2.6482)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6B10 #10237E
analogous
#7E3410 #7E6B10 #5A7E10
triadic
#7E6B10 #107E6B #6B107E
tetradic
#7E6B10 #107E34 #10237E #7E105A
square
#7E6B10 #107E34 #10237E #7E105A
split-complementary
#7E6B10 #105A7E #34107E
monochromatic
#1B1703 #483D09 #7E6B10 #B49917 #E3C225

Accessibility & contrast

On white

5.25
#7E6B10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#7E6B10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6B10
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6B10#FFFFFF#000000##FFFFFF
##7E6B101.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776900
Deuteranopia (green-blind)
#7C6F18
Tritanopia (blue-blind)
#89625B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7e6b10;
/* rgb */ color: rgb(126, 107, 16);
/* oklch */ color: oklch(53.1% 0.104 96.0);
Tailwind
colors: {
  custom: {
    50: '#a79559',
    500: '#7e6b10',
    950: '#000000',
  },
}
SCSS
$custom: #7e6b10;
$custom-light: #a79559;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6b10",
  "rgb": {
    "r": 126,
    "g": 107,
    "b": 16
  },
  "hsl": {
    "h": 49.636,
    "s": 77.465,
    "l": 27.843
  },
  "oklch": {
    "l": 0.53063,
    "c": 0.10391,
    "h": 96
  },
  "luminance": 0.14988
}

Semantic roles & 50–950 ramp

primary
#7E6B10
secondary
#364BB4
accent
#55F434
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6B10

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

Preview Lab → · Contrast checker → · Palette generator →

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