#7A7622#7A7622

#7A7622 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.103 H 106.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#7A7622
RGBrgb(122, 118, 34)
HSLhsl(57, 56%, 31%)
HSVhsv(57, 72%, 48%)
CMYKcmyk(0%, 3.3%, 72.1%, 52.2%)
CIE-LABlab(48.52, -9.16, 44.46)
CIE-LCHlch(48.52, 45.39, 101.65°)
OKLaboklab(55.31% -0.0296 0.0991)
OKLCHoklch(55.31% 0.103 106.6)
XYZxyz(14.7938, 17.2104, 4.0557)
Luminance0.1721 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7622 #22267A
analogous
#7A4A22 #7A7622 #527A22
triadic
#7A7622 #227A76 #76227A
tetradic
#7A7622 #227A4A #22267A #7A2252
square
#7A7622 #227A4A #22267A #7A2252
split-complementary
#7A7622 #22527A #4A227A
monochromatic
#1A1907 #4A4815 #7A7622 #AAA42F #CDC74A

Accessibility & contrast

On white

4.73
#7A7622 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#7A7622 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7622
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7622#FFFFFF#000000##FFFFFF
##7A76221.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807115
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#836E65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #7a7622;
/* rgb */ color: rgb(122, 118, 34);
/* oklch */ color: oklch(55.3% 0.103 106.6);
Tailwind
colors: {
  custom: {
    50: '#a39d63',
    500: '#7a7622',
    950: '#000000',
  },
}
SCSS
$custom: #7a7622;
$custom-light: #a39d63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7622",
  "rgb": {
    "r": 122,
    "g": 118,
    "b": 34
  },
  "hsl": {
    "h": 57.273,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55309,
    "c": 0.10338,
    "h": 106.6
  },
  "luminance": 0.1721
}

Semantic roles & 50–950 ramp

primary
#7A7622
secondary
#4B4FAD
accent
#4FE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7622

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

Preview Lab → · Contrast checker → · Palette generator →

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