#7E6814#7E6814

#7E6814 is a mid, moderate yellow. Relative luminance 0.144; OKLCH L 52.4% C 0.100 H 93.0°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7E6814
RGBrgb(126, 104, 20)
HSLhsl(48, 73%, 29%)
HSVhsv(48, 84%, 49%)
CMYKcmyk(0%, 17.5%, 84.1%, 50.6%)
CIE-LABlab(44.78, 0.04, 46.35)
CIE-LCHlch(44.78, 46.35, 89.95°)
OKLaboklab(52.41% -0.0052 0.1)
OKLCHoklch(52.41% 0.1 93)
XYZxyz(13.6816, 14.3876, 2.7181)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6814 #142A7E
analogous
#7E3314 #7E6814 #5F7E14
triadic
#7E6814 #147E68 #68147E
tetradic
#7E6814 #147E33 #142A7E #7E145F
square
#7E6814 #147E33 #142A7E #7E145F
split-complementary
#7E6814 #145F7E #33147E
monochromatic
#1A1604 #493C0C #7E6814 #B3941C #DEB92E

Accessibility & contrast

On white

5.42
#7E6814 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7E6814 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E6814
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E6814#FFFFFF#000000##FFFFFF
##7E68141.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746600
Deuteranopia (green-blind)
#7A6D1A
Tritanopia (blue-blind)
#895F59
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e6814;
/* rgb */ color: rgb(126, 104, 20);
/* oklch */ color: oklch(52.4% 0.100 93.0);
Tailwind
colors: {
  custom: {
    50: '#a7925a',
    500: '#7e6814',
    950: '#000000',
  },
}
SCSS
$custom: #7e6814;
$custom-light: #a7925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6814",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 20
  },
  "hsl": {
    "h": 47.547,
    "s": 72.603,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52408,
    "c": 0.10012,
    "h": 93
  },
  "luminance": 0.14387
}

Semantic roles & 50–950 ramp

primary
#7E6814
secondary
#3A54B3
accent
#5EEF38
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7E6814

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

Preview Lab → · Contrast checker → · Palette generator →

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