#7E6715#7E6715

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

Color values

HEX#7E6715
RGBrgb(126, 103, 21)
HSLhsl(47, 71%, 29%)
HSVhsv(47, 83%, 49%)
CMYKcmyk(0%, 18.3%, 83.3%, 50.6%)
CIE-LABlab(44.51, 0.66, 45.76)
CIE-LCHlch(44.51, 45.77, 89.18°)
OKLaboklab(52.19% -0.0034 0.099)
OKLCHoklch(52.19% 0.099 92)
XYZxyz(13.5906, 14.1911, 2.7327)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E6715 #152C7E
analogous
#7E3315 #7E6715 #617E15
triadic
#7E6715 #157E67 #67157E
tetradic
#7E6715 #157E33 #152C7E #7E1561
square
#7E6715 #157E33 #152C7E #7E1561
split-complementary
#7E6715 #15617E #33157E
monochromatic
#1A1504 #4A3C0C #7E6715 #B2921E #DDB731

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7E6715#FFFFFF#000000##FFFFFF
##7E67151.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)
#736502
Deuteranopia (green-blind)
#796C1A
Tritanopia (blue-blind)
#895E58
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7e6715;
/* rgb */ color: rgb(126, 103, 21);
/* oklch */ color: oklch(52.2% 0.099 92.0);
Tailwind
colors: {
  custom: {
    50: '#a7925b',
    500: '#7e6715',
    950: '#000000',
  },
}
SCSS
$custom: #7e6715;
$custom-light: #a7925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e6715",
  "rgb": {
    "r": 126,
    "g": 103,
    "b": 21
  },
  "hsl": {
    "h": 46.857,
    "s": 71.429,
    "l": 28.824
  },
  "oklch": {
    "l": 0.5219,
    "c": 0.09901,
    "h": 92
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#7E6715
secondary
#3C56B3
accent
#61EE3A
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100C04
muted
#7F7D79

Preview Lab

Preview with #7E6715

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

Preview Lab → · Contrast checker → · Palette generator →

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