#7A6720#7A6720

#7A6720 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.8% C 0.091 H 93.7°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#7A6720
RGBrgb(122, 103, 32)
HSLhsl(47, 58%, 30%)
HSVhsv(47, 74%, 48%)
CMYKcmyk(0%, 15.6%, 73.8%, 52.2%)
CIE-LABlab(44.15, -0.75, 40.94)
CIE-LCHlch(44.15, 40.95, 91.05°)
OKLaboklab(51.83% -0.0059 0.0913)
OKLCHoklch(51.83% 0.091 93.7)
XYZxyz(13.1377, 13.9431, 3.3655)
Luminance0.1394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A6720 #20337A
analogous
#7A3A20 #7A6720 #607A20
triadic
#7A6720 #207A67 #67207A
tetradic
#7A6720 #207A3A #20337A #7A2060
square
#7A6720 #207A3A #20337A #7A2060
split-complementary
#7A6720 #20607A #3A207A
monochromatic
#191507 #4A3E13 #7A6720 #AA902D #CEB246

Accessibility & contrast

On white

5.54
#7A6720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7A6720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A6720
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A6720#FFFFFF#000000##FFFFFF
##7A67201.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726516
Deuteranopia (green-blind)
#776B24
Tritanopia (blue-blind)
#845E59
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7a6720;
/* rgb */ color: rgb(122, 103, 32);
/* oklch */ color: oklch(51.8% 0.091 93.7);
Tailwind
colors: {
  custom: {
    50: '#a49260',
    500: '#7a6720',
    950: '#000000',
  },
}
SCSS
$custom: #7a6720;
$custom-light: #a49260;
$custom-dark: #000000;
JSON
{
  "hex": "#7a6720",
  "rgb": {
    "r": 122,
    "g": 103,
    "b": 32
  },
  "hsl": {
    "h": 47.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.51834,
    "c": 0.09144,
    "h": 93.7
  },
  "luminance": 0.13942
}

Semantic roles & 50–950 ramp

primary
#7A6720
secondary
#495EAD
accent
#67E246
background
#FAF8F5
surface
#F4F0EA
border
#CECBC6
text
#100C05
muted
#7F7D79

Preview Lab

Preview with #7A6720

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

Preview Lab → · Contrast checker → · Palette generator →

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