#7E7611#7E7611

#7E7611 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.6% C 0.112 H 104.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7E7611
RGBrgb(126, 118, 17)
HSLhsl(56, 76%, 28%)
HSVhsv(56, 87%, 49%)
CMYKcmyk(0%, 6.3%, 86.5%, 50.6%)
CIE-LABlab(48.80, -8.01, 50.69)
CIE-LCHlch(48.80, 51.32, 98.98°)
OKLaboklab(55.59% -0.0282 0.1088)
OKLCHoklch(55.59% 0.112 104.5)
XYZxyz(15.1845, 17.4336, 3.0954)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7611 #11197E
analogous
#7E3F11 #7E7611 #507E11
triadic
#7E7611 #117E76 #76117E
tetradic
#7E7611 #117E3F #11197E #7E1150
square
#7E7611 #117E3F #11197E #7E1150
split-complementary
#7E7611 #11507E #3F117E
monochromatic
#1B1904 #48430A #7E7611 #B4A818 #E2D427

Accessibility & contrast

On white

4.68
#7E7611 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7E7611 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7611
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7611#FFFFFF#000000##FFFFFF
##7E76111.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#84761B
Tritanopia (blue-blind)
#886D64
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7e7611;
/* rgb */ color: rgb(126, 118, 17);
/* oklch */ color: oklch(55.6% 0.112 104.5);
Tailwind
colors: {
  custom: {
    50: '#a79d5b',
    500: '#7e7611',
    950: '#000000',
  },
}
SCSS
$custom: #7e7611;
$custom-light: #a79d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7611",
  "rgb": {
    "r": 126,
    "g": 118,
    "b": 17
  },
  "hsl": {
    "h": 55.596,
    "s": 76.224,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.11238,
    "h": 104.5
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

primary
#7E7611
secondary
#3740B4
accent
#43F335
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7E7611

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

Preview Lab → · Contrast checker → · Palette generator →

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