#7E7716#7E7716

#7E7716 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.111 H 105.1°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#7E7716
RGBrgb(126, 119, 22)
HSLhsl(56, 70%, 29%)
HSVhsv(56, 83%, 49%)
CMYKcmyk(0%, 5.6%, 82.5%, 50.6%)
CIE-LABlab(49.12, -8.40, 49.51)
CIE-LCHlch(49.12, 50.22, 99.63°)
OKLaboklab(55.85% -0.0289 0.1072)
OKLCHoklch(55.85% 0.111 105.1)
XYZxyz(15.3465, 17.6878, 3.3646)
Luminance0.1769 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7716 #161D7E
analogous
#7E4316 #7E7716 #517E16
triadic
#7E7716 #167E77 #77167E
tetradic
#7E7716 #167E43 #161D7E #7E1651
square
#7E7716 #167E43 #161D7E #7E1651
split-complementary
#7E7716 #16517E #43167E
monochromatic
#1A1905 #4A460D #7E7716 #B2A81F #DBD033

Accessibility & contrast

On white

4.63
#7E7716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#7E7716 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7716
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7716#FFFFFF#000000##FFFFFF
##7E77161.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#85771E
Tritanopia (blue-blind)
#886E65
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7e7716;
/* rgb */ color: rgb(126, 119, 22);
/* oklch */ color: oklch(55.8% 0.111 105.1);
Tailwind
colors: {
  custom: {
    50: '#a79d5d',
    500: '#7e7716',
    950: '#000000',
  },
}
SCSS
$custom: #7e7716;
$custom-light: #a79d5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7716",
  "rgb": {
    "r": 126,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 55.962,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55847,
    "c": 0.11106,
    "h": 105.1
  },
  "luminance": 0.17687
}

Semantic roles & 50–950 ramp

primary
#7E7716
secondary
#3D45B3
accent
#47ED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7716

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

Preview Lab → · Contrast checker → · Palette generator →

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