#7A7220#7A7220

#7A7220 is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.101 H 103.7°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#7A7220
RGBrgb(122, 114, 32)
HSLhsl(55, 58%, 30%)
HSVhsv(55, 74%, 48%)
CMYKcmyk(0%, 6.6%, 73.8%, 52.2%)
CIE-LABlab(47.34, -7.04, 44.10)
CIE-LCHlch(47.34, 44.66, 99.07°)
OKLaboklab(54.36% -0.0238 0.0979)
OKLCHoklch(54.36% 0.101 103.7)
XYZxyz(14.3047, 16.2771, 3.7545)
Luminance0.1628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7220 #20287A
analogous
#7A4520 #7A7220 #557A20
triadic
#7A7220 #207A72 #72207A
tetradic
#7A7220 #207A45 #20287A #7A2055
square
#7A7220 #207A45 #20287A #7A2055
split-complementary
#7A7220 #20557A #45207A
monochromatic
#191707 #4A4513 #7A7220 #AA9F2D #CEC246

Accessibility & contrast

On white

4.94
#7A7220 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#7A7220 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7220
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7220#FFFFFF#000000##FFFFFF
##7A72201.004.944.264.94
#FFFFFF4.941.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E13
Deuteranopia (green-blind)
#7F7225
Tritanopia (blue-blind)
#846A62
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #7a7220;
/* rgb */ color: rgb(122, 114, 32);
/* oklch */ color: oklch(54.4% 0.101 103.7);
Tailwind
colors: {
  custom: {
    50: '#a39a61',
    500: '#7a7220',
    950: '#000000',
  },
}
SCSS
$custom: #7a7220;
$custom-light: #a39a61;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7220",
  "rgb": {
    "r": 122,
    "g": 114,
    "b": 32
  },
  "hsl": {
    "h": 54.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54359,
    "c": 0.10078,
    "h": 103.7
  },
  "luminance": 0.16276
}

Semantic roles & 50–950 ramp

primary
#7A7220
secondary
#4952AD
accent
#54E246
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#0F0E05
muted
#7F7E79

Preview Lab

Preview with #7A7220

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

Preview Lab → · Contrast checker → · Palette generator →

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