#7A7322#7A7322

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

Color values

HEX#7A7322
RGBrgb(122, 115, 34)
HSLhsl(55, 56%, 31%)
HSVhsv(55, 72%, 48%)
CMYKcmyk(0%, 5.7%, 72.1%, 52.2%)
CIE-LABlab(47.64, -7.49, 43.58)
CIE-LCHlch(47.64, 44.22, 99.75°)
OKLaboklab(54.61% -0.0249 0.0972)
OKLCHoklch(54.61% 0.1 104.3)
XYZxyz(14.4461, 16.5151, 3.9398)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7322 #22297A
analogous
#7A4722 #7A7322 #557A22
triadic
#7A7322 #227A73 #73227A
tetradic
#7A7322 #227A47 #22297A #7A2255
square
#7A7322 #227A47 #22297A #7A2255
split-complementary
#7A7322 #22557A #47227A
monochromatic
#1A1907 #4A4615 #7A7322 #AAA02F #CDC24A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A7322#FFFFFF#000000##FFFFFF
##7A73221.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)
#7D6F16
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#836B63
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7a7322;
/* rgb */ color: rgb(122, 115, 34);
/* oklch */ color: oklch(54.6% 0.100 104.3);
Tailwind
colors: {
  custom: {
    50: '#a39b63',
    500: '#7a7322',
    950: '#000000',
  },
}
SCSS
$custom: #7a7322;
$custom-light: #a39b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7322",
  "rgb": {
    "r": 122,
    "g": 115,
    "b": 34
  },
  "hsl": {
    "h": 55.227,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54608,
    "c": 0.10034,
    "h": 104.3
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#7A7322
secondary
#4B53AD
accent
#54E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7322

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

Preview Lab → · Contrast checker → · Palette generator →

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