#7E6A14#7E6A14

#7E6A14 is a mid, moderate yellow. Relative luminance 0.148; OKLCH L 52.9% C 0.101 H 94.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#7E6A14
RGBrgb(126, 106, 20)
HSLhsl(49, 73%, 29%)
HSVhsv(49, 84%, 49%)
CMYKcmyk(0%, 15.9%, 84.1%, 50.6%)
CIE-LABlab(45.35, -1.11, 46.84)
CIE-LCHlch(45.35, 46.86, 91.36°)
OKLaboklab(52.86% -0.0085 0.1011)
OKLCHoklch(52.86% 0.101 94.8)
XYZxyz(13.8853, 14.7950, 2.7860)
Luminance0.1479 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6A14 #14287E
analogous
#7E3514 #7E6A14 #5D7E14
triadic
#7E6A14 #147E6A #6A147E
tetradic
#7E6A14 #147E35 #14287E #7E145D
square
#7E6A14 #147E35 #14287E #7E145D
split-complementary
#7E6A14 #145D7E #35147E
monochromatic
#1A1604 #493E0C #7E6A14 #B3961C #DEBD2E

Accessibility & contrast

On white

5.30
#7E6A14 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7E6A14 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6A14
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6A14#FFFFFF#000000##FFFFFF
##7E6A141.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766800
Deuteranopia (green-blind)
#7B6E1A
Tritanopia (blue-blind)
#89615A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7e6a14;
/* rgb */ color: rgb(126, 106, 20);
/* oklch */ color: oklch(52.9% 0.101 94.8);
Tailwind
colors: {
  custom: {
    50: '#a7945b',
    500: '#7e6a14',
    950: '#000000',
  },
}
SCSS
$custom: #7e6a14;
$custom-light: #a7945b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6a14",
  "rgb": {
    "r": 126,
    "g": 106,
    "b": 20
  },
  "hsl": {
    "h": 48.679,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52857,
    "c": 0.10142,
    "h": 94.8
  },
  "luminance": 0.14794
}

Semantic roles & 50–950 ramp

primary
#7E6A14
secondary
#3A51B3
accent
#5BEF38
background
#FAF9F5
surface
#F4F1E9
border
#CECBC5
text
#100D04
muted
#7F7E79

Preview Lab

Preview with #7E6A14

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

Preview Lab → · Contrast checker → · Palette generator →

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