#7A7320#7A7320

#7A7320 is a mid, moderate yellow. Relative luminance 0.165; OKLCH L 54.6% C 0.102 H 104.5°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#7A7320
RGBrgb(122, 115, 32)
HSLhsl(55, 58%, 30%)
HSVhsv(55, 74%, 48%)
CMYKcmyk(0%, 5.7%, 73.8%, 52.2%)
CIE-LABlab(47.63, -7.60, 44.39)
CIE-LCHlch(47.63, 45.04, 99.72°)
OKLaboklab(54.59% -0.0254 0.0985)
OKLCHoklch(54.59% 0.102 104.5)
XYZxyz(14.4181, 16.5039, 3.7923)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7320 #20277A
analogous
#7A4620 #7A7320 #547A20
triadic
#7A7320 #207A73 #73207A
tetradic
#7A7320 #207A46 #20277A #7A2054
square
#7A7320 #207A46 #20277A #7A2054
split-complementary
#7A7320 #20547A #46207A
monochromatic
#191807 #4A4513 #7A7320 #AAA12D #CEC446

Accessibility & contrast

On white

4.88
#7A7320 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#7A7320 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7320
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7320#FFFFFF#000000##FFFFFF
##7A73201.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F12
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#836B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7320;
/* rgb */ color: rgb(122, 115, 32);
/* oklch */ color: oklch(54.6% 0.102 104.5);
Tailwind
colors: {
  custom: {
    50: '#a39b62',
    500: '#7a7320',
    950: '#000000',
  },
}
SCSS
$custom: #7a7320;
$custom-light: #a39b62;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7320",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 32
  },
  "hsl": {
    "h": 55.333,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54592,
    "c": 0.10176,
    "h": 104.5
  },
  "luminance": 0.16503
}

Semantic roles & 50–950 ramp

primary
#7A7320
secondary
#4950AD
accent
#52E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7320

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

Preview Lab → · Contrast checker → · Palette generator →

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