#7A7216#7A7216

#7A7216 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.107 H 104.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#7A7216
RGBrgb(122, 114, 22)
HSLhsl(55, 69%, 28%)
HSVhsv(55, 82%, 48%)
CMYKcmyk(0%, 6.6%, 82%, 52.2%)
CIE-LABlab(47.28, -7.50, 47.74)
CIE-LCHlch(47.28, 48.32, 98.93°)
OKLaboklab(54.29% -0.0261 0.1036)
OKLCHoklch(54.29% 0.107 104.1)
XYZxyz(14.1888, 16.2307, 3.1444)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7216 #161E7A
analogous
#7A4016 #7A7216 #507A16
triadic
#7A7216 #167A72 #72167A
tetradic
#7A7216 #167A40 #161E7A #7A1650
square
#7A7216 #167A40 #161E7A #7A1650
split-complementary
#7A7216 #16507A #40167A
monochromatic
#1A1805 #46420D #7A7216 #AEA21F #DACC31

Accessibility & contrast

On white

4.95
#7A7216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#7A7216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7216
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7216#FFFFFF#000000##FFFFFF
##7A72161.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#846961
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a7216;
/* rgb */ color: rgb(122, 114, 22);
/* oklch */ color: oklch(54.3% 0.107 104.1);
Tailwind
colors: {
  custom: {
    50: '#a49a5d',
    500: '#7a7216',
    950: '#000000',
  },
}
SCSS
$custom: #7a7216;
$custom-light: #a49a5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7216",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 22
  },
  "hsl": {
    "h": 55.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.54292,
    "c": 0.10686,
    "h": 104.1
  },
  "luminance": 0.1623
}

Semantic roles & 50–950 ramp

primary
#7A7216
secondary
#3D46AF
accent
#4AEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79

Preview Lab

Preview with #7A7216

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

Preview Lab → · Contrast checker → · Palette generator →

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