#7A7620#7A7620

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

Color values

HEX#7A7620
RGBrgb(122, 118, 32)
HSLhsl(57, 58%, 30%)
HSVhsv(57, 74%, 48%)
CMYKcmyk(0%, 3.3%, 73.8%, 52.2%)
CIE-LABlab(48.51, -9.27, 45.25)
CIE-LCHlch(48.51, 46.19, 101.58°)
OKLaboklab(55.29% -0.0301 0.1004)
OKLCHoklch(55.29% 0.105 106.7)
XYZxyz(14.7658, 17.1992, 3.9082)
Luminance0.1720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7620 #20247A
analogous
#7A4920 #7A7620 #517A20
triadic
#7A7620 #207A76 #76207A
tetradic
#7A7620 #207A49 #20247A #7A2051
square
#7A7620 #207A49 #20247A #7A2051
split-complementary
#7A7620 #20517A #49207A
monochromatic
#191807 #4A4713 #7A7620 #AAA52D #CEC846

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7620#FFFFFF#000000##FFFFFF
##7A76201.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)
#807111
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#836E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7620;
/* rgb */ color: rgb(122, 118, 32);
/* oklch */ color: oklch(55.3% 0.105 106.7);
Tailwind
colors: {
  custom: {
    50: '#a39d62',
    500: '#7a7620',
    950: '#000000',
  },
}
SCSS
$custom: #7a7620;
$custom-light: #a39d62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7620",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 32
  },
  "hsl": {
    "h": 57.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.10478,
    "h": 106.7
  },
  "luminance": 0.17199
}

Semantic roles & 50–950 ramp

primary
#7A7620
secondary
#494DAD
accent
#4DE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7620

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

Preview Lab → · Contrast checker → · Palette generator →

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