#7E6412#7E6412

#7E6412 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.5% C 0.099 H 89.4°. Best body text is #FFFFFF at 5.65:1 contrast (WCAG AA passes).

Color values

HEX#7E6412
RGBrgb(126, 100, 18)
HSLhsl(46, 75%, 28%)
HSVhsv(46, 86%, 49%)
CMYKcmyk(0%, 20.6%, 85.7%, 50.6%)
CIE-LABlab(43.65, 2.30, 46.01)
CIE-LCHlch(43.65, 46.07, 87.14°)
OKLaboklab(51.51% 0.001 0.0988)
OKLCHoklch(51.51% 0.099 89.4)
XYZxyz(13.2714, 13.5945, 2.4972)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6412 #122C7E
analogous
#7E2E12 #7E6412 #627E12
triadic
#7E6412 #127E64 #64127E
tetradic
#7E6412 #127E2E #122C7E #7E1262
square
#7E6412 #127E2E #122C7E #7E1262
split-complementary
#7E6412 #12627E #2E127E
monochromatic
#1B1504 #48390A #7E6412 #B48F1A #E1B52A

Accessibility & contrast

On white

5.65
#7E6412 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#7E6412 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6412
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6412#FFFFFF#000000##FFFFFF
##7E64121.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#776A18
Tritanopia (blue-blind)
#895A55
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #7e6412;
/* rgb */ color: rgb(126, 100, 18);
/* oklch */ color: oklch(51.5% 0.099 89.4);
Tailwind
colors: {
  custom: {
    50: '#a88f59',
    500: '#7e6412',
    950: '#000000',
  },
}
SCSS
$custom: #7e6412;
$custom-light: #a88f59;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6412",
  "rgb": {
    "r": 126,
    "g": 100,
    "b": 18
  },
  "hsl": {
    "h": 45.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.0988,
    "h": 89.4
  },
  "luminance": 0.13594
}

Semantic roles & 50–950 ramp

primary
#7E6412
secondary
#3856B4
accent
#63F236
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6412

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

Preview Lab → · Contrast checker → · Palette generator →

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