#7E6714#7E6714

#7E6714 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 52.2% C 0.100 H 92.1°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7E6714
RGBrgb(126, 103, 20)
HSLhsl(47, 73%, 29%)
HSVhsv(47, 84%, 49%)
CMYKcmyk(0%, 18.3%, 84.1%, 50.6%)
CIE-LABlab(44.50, 0.62, 46.10)
CIE-LCHlch(44.50, 46.10, 89.23°)
OKLaboklab(52.18% -0.0036 0.0994)
OKLCHoklch(52.18% 0.1 92.1)
XYZxyz(13.5815, 14.1875, 2.6848)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6714 #142B7E
analogous
#7E3214 #7E6714 #607E14
triadic
#7E6714 #147E67 #67147E
tetradic
#7E6714 #147E32 #142B7E #7E1460
square
#7E6714 #147E32 #142B7E #7E1460
split-complementary
#7E6714 #14607E #32147E
monochromatic
#1A1604 #493C0C #7E6714 #B3921C #DEB82E

Accessibility & contrast

On white

5.47
#7E6714 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7E6714 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6714
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6714#FFFFFF#000000##FFFFFF
##7E67141.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#895E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6714;
/* rgb */ color: rgb(126, 103, 20);
/* oklch */ color: oklch(52.2% 0.100 92.1);
Tailwind
colors: {
  custom: {
    50: '#a7925a',
    500: '#7e6714',
    950: '#000000',
  },
}
SCSS
$custom: #7e6714;
$custom-light: #a7925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6714",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 20
  },
  "hsl": {
    "h": 46.981,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52184,
    "c": 0.09951,
    "h": 92.1
  },
  "luminance": 0.14187
}

Semantic roles & 50–950 ramp

primary
#7E6714
secondary
#3A55B3
accent
#60EF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6714

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

Preview Lab → · Contrast checker → · Palette generator →

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