#7E7516#7E7516

#7E7516 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.109 H 103.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7E7516
RGBrgb(126, 117, 22)
HSLhsl(55, 70%, 29%)
HSVhsv(55, 83%, 49%)
CMYKcmyk(0%, 7.1%, 82.5%, 50.6%)
CIE-LABlab(48.53, -7.29, 48.99)
CIE-LCHlch(48.53, 49.53, 98.46°)
OKLaboklab(55.38% -0.0257 0.1061)
OKLCHoklch(55.38% 0.109 103.6)
XYZxyz(15.1110, 17.2168, 3.2861)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E7516 #161F7E
analogous
#7E4116 #7E7516 #537E16
triadic
#7E7516 #167E75 #75167E
tetradic
#7E7516 #167E41 #161F7E #7E1653
square
#7E7516 #167E41 #161F7E #7E1653
split-complementary
#7E7516 #16537E #41167E
monochromatic
#1A1805 #4A450D #7E7516 #B2A51F #DBCD33

Accessibility & contrast

On white

4.73
#7E7516 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7E7516 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7E7516
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E7516#FFFFFF#000000##FFFFFF
##7E75161.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#83751E
Tritanopia (blue-blind)
#886C64
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7e7516;
/* rgb */ color: rgb(126, 117, 22);
/* oklch */ color: oklch(55.4% 0.109 103.6);
Tailwind
colors: {
  custom: {
    50: '#a79c5d',
    500: '#7e7516',
    950: '#000000',
  },
}
SCSS
$custom: #7e7516;
$custom-light: #a79c5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e7516",
  "rgb": {
    "r": 126,
    "g": 117,
    "b": 22
  },
  "hsl": {
    "h": 54.808,
    "s": 70.27,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.10921,
    "h": 103.6
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#7E7516
secondary
#3D47B3
accent
#4AED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7E7516

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

Preview Lab → · Contrast checker → · Palette generator →

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