#7A7422#7A7422

#7A7422 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.101 H 105.1°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#7A7422
RGBrgb(122, 116, 34)
HSLhsl(56, 56%, 31%)
HSVhsv(56, 72%, 48%)
CMYKcmyk(0%, 4.9%, 72.1%, 52.2%)
CIE-LABlab(47.94, -8.05, 43.87)
CIE-LCHlch(47.94, 44.60, 100.40°)
OKLaboklab(54.84% -0.0264 0.0978)
OKLCHoklch(54.84% 0.101 105.1)
XYZxyz(14.5607, 16.7444, 3.9781)
Luminance0.1674 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7422 #22287A
analogous
#7A4822 #7A7422 #547A22
triadic
#7A7422 #227A74 #74227A
tetradic
#7A7422 #227A48 #22287A #7A2254
square
#7A7422 #227A48 #22287A #7A2254
split-complementary
#7A7422 #22547A #48227A
monochromatic
#1A1907 #4A4615 #7A7422 #AAA22F #CDC44A

Accessibility & contrast

On white

4.83
#7A7422 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7A7422 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7422
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7422#FFFFFF#000000##FFFFFF
##7A74221.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7015
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#836C64
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7a7422;
/* rgb */ color: rgb(122, 116, 34);
/* oklch */ color: oklch(54.8% 0.101 105.1);
Tailwind
colors: {
  custom: {
    50: '#a39b63',
    500: '#7a7422',
    950: '#000000',
  },
}
SCSS
$custom: #7a7422;
$custom-light: #a39b63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7422",
  "rgb": {
    "r": 122,
    "g": 116,
    "b": 34
  },
  "hsl": {
    "h": 55.909,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54841,
    "c": 0.10133,
    "h": 105.1
  },
  "luminance": 0.16744
}

Semantic roles & 50–950 ramp

primary
#7A7422
secondary
#4B52AD
accent
#52E048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7422

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

Preview Lab → · Contrast checker → · Palette generator →

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