#7A7816#7A7816

#7A7816 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.113 H 108.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#7A7816
RGBrgb(122, 120, 22)
HSLhsl(59, 69%, 28%)
HSVhsv(59, 82%, 48%)
CMYKcmyk(0%, 1.6%, 82%, 52.2%)
CIE-LABlab(49.04, -10.83, 49.30)
CIE-LCHlch(49.04, 50.48, 102.39°)
OKLaboklab(55.7% -0.0354 0.107)
OKLCHoklch(55.7% 0.113 108.3)
XYZxyz(14.8879, 17.6289, 3.3774)
Luminance0.1763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7816 #16187A
analogous
#7A4616 #7A7816 #4A7A16
triadic
#7A7816 #167A78 #78167A
tetradic
#7A7816 #167A46 #16187A #7A164A
square
#7A7816 #167A46 #16187A #7A164A
split-complementary
#7A7816 #164A7A #46167A
monochromatic
#1A1905 #46450D #7A7816 #AEAB1F #DAD631

Accessibility & contrast

On white

4.64
#7A7816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#7A7816 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7816
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7816#FFFFFF#000000##FFFFFF
##7A78161.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#837066
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a7816;
/* rgb */ color: rgb(122, 120, 22);
/* oklch */ color: oklch(55.7% 0.113 108.3);
Tailwind
colors: {
  custom: {
    50: '#a49e5d',
    500: '#7a7816',
    950: '#000000',
  },
}
SCSS
$custom: #7a7816;
$custom-light: #a49e5d;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7816",
  "rgb": {
    "r": 122,
    "g": 120,
    "b": 22
  },
  "hsl": {
    "h": 58.8,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.1127,
    "h": 108.3
  },
  "luminance": 0.17628
}

Semantic roles & 50–950 ramp

primary
#7A7816
secondary
#3D3FAF
accent
#3FEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79

Preview Lab

Preview with #7A7816

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

Preview Lab → · Contrast checker → · Palette generator →

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