#7E6813#7E6813

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

Color values

HEX#7E6813
RGBrgb(126, 104, 19)
HSLhsl(48, 74%, 28%)
HSVhsv(48, 85%, 49%)
CMYKcmyk(0%, 17.5%, 84.9%, 50.6%)
CIE-LABlab(44.78, 0.01, 46.67)
CIE-LCHlch(44.78, 46.67, 89.99°)
OKLaboklab(52.4% -0.0054 0.1005)
OKLCHoklch(52.4% 0.101 93.1)
XYZxyz(13.6728, 14.3841, 2.6722)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6813 #13297E
analogous
#7E3313 #7E6813 #5E7E13
triadic
#7E6813 #137E68 #68137E
tetradic
#7E6813 #137E33 #13297E #7E135E
square
#7E6813 #137E33 #13297E #7E135E
split-complementary
#7E6813 #135E7E #33137E
monochromatic
#1B1604 #493C0B #7E6813 #B3941B #DFBA2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6813#FFFFFF#000000##FFFFFF
##7E68131.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)
#7A6D19
Tritanopia (blue-blind)
#895F58
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7e6813;
/* rgb */ color: rgb(126, 104, 19);
/* oklch */ color: oklch(52.4% 0.101 93.1);
Tailwind
colors: {
  custom: {
    50: '#a7925a',
    500: '#7e6813',
    950: '#000000',
  },
}
SCSS
$custom: #7e6813;
$custom-light: #a7925a;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6813",
  "rgb": {
    "r": 126,
    "g": 104,
    "b": 19
  },
  "hsl": {
    "h": 47.664,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.10061,
    "h": 93.1
  },
  "luminance": 0.14383
}

Semantic roles & 50–950 ramp

primary
#7E6813
secondary
#3952B4
accent
#5DF037
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7E6813

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

Preview Lab → · Contrast checker → · Palette generator →

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