#7A6816#7A6816

#7A6816 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 52.0% C 0.099 H 95.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#7A6816
RGBrgb(122, 104, 22)
HSLhsl(49, 69%, 28%)
HSVhsv(49, 82%, 48%)
CMYKcmyk(0%, 14.8%, 82%, 52.2%)
CIE-LABlab(44.37, -1.80, 45.14)
CIE-LCHlch(44.37, 45.17, 92.29°)
OKLaboklab(51.99% -0.0101 0.098)
OKLCHoklch(51.99% 0.099 95.9)
XYZxyz(13.1219, 14.0969, 2.7887)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6816 #16287A
analogous
#7A3616 #7A6816 #5A7A16
triadic
#7A6816 #167A68 #68167A
tetradic
#7A6816 #167A36 #16287A #7A165A
square
#7A6816 #167A36 #16287A #7A165A
split-complementary
#7A6816 #165A7A #36167A
monochromatic
#1A1605 #463C0D #7A6816 #AE941F #DABB31

Accessibility & contrast

On white

5.50
#7A6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#7A6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6816
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6816#FFFFFF#000000##FFFFFF
##7A68161.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#786B1C
Tritanopia (blue-blind)
#845F59
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7a6816;
/* rgb */ color: rgb(122, 104, 22);
/* oklch */ color: oklch(52.0% 0.099 95.9);
Tailwind
colors: {
  custom: {
    50: '#a4925b',
    500: '#7a6816',
    950: '#000000',
  },
}
SCSS
$custom: #7a6816;
$custom-light: #a4925b;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6816",
  "rgb": {
    "r": 122,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 49.2,
    "s": 69.444,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51987,
    "c": 0.09855,
    "h": 95.9
  },
  "luminance": 0.14096
}

Semantic roles & 50–950 ramp

primary
#7A6816
secondary
#3D51AF
accent
#5BEC3C
background
#FAF8F5
surface
#F4F0E9
border
#CECBC5
text
#100D04
muted
#7F7D79

Preview Lab

Preview with #7A6816

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

Preview Lab → · Contrast checker → · Palette generator →

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