#7A7722#7A7722

#7A7722 is a mid, moderate yellow. Relative luminance 0.174; OKLCH L 55.5% C 0.104 H 107.4°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#7A7722
RGBrgb(122, 119, 34)
HSLhsl(58, 56%, 31%)
HSVhsv(58, 72%, 48%)
CMYKcmyk(0%, 2.5%, 72.1%, 52.2%)
CIE-LABlab(48.82, -9.72, 44.75)
CIE-LCHlch(48.82, 45.79, 102.25°)
OKLaboklab(55.54% -0.0311 0.0997)
OKLCHoklch(55.54% 0.104 107.4)
XYZxyz(14.9122, 17.4472, 4.0952)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7722 #22257A
analogous
#7A4B22 #7A7722 #517A22
triadic
#7A7722 #227A77 #77227A
tetradic
#7A7722 #227A4B #22257A #7A2251
square
#7A7722 #227A4B #22257A #7A2251
split-complementary
#7A7722 #22517A #4B227A
monochromatic
#1A1A07 #4A4815 #7A7722 #AAA62F #CDC84A

Accessibility & contrast

On white

4.68
#7A7722 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#7A7722 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7A7722
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7722#FFFFFF#000000##FFFFFF
##7A77221.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#837528
Tritanopia (blue-blind)
#836F66
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #7a7722;
/* rgb */ color: rgb(122, 119, 34);
/* oklch */ color: oklch(55.5% 0.104 107.4);
Tailwind
colors: {
  custom: {
    50: '#a39e63',
    500: '#7a7722',
    950: '#000000',
  },
}
SCSS
$custom: #7a7722;
$custom-light: #a39e63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7722",
  "rgb": {
    "r": 122,
    "g": 119,
    "b": 34
  },
  "hsl": {
    "h": 57.955,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55544,
    "c": 0.10442,
    "h": 107.4
  },
  "luminance": 0.17447
}

Semantic roles & 50–950 ramp

primary
#7A7722
secondary
#4B4EAD
accent
#4DE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E05
muted
#7F7E7A

Preview Lab

Preview with #7A7722

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

Preview Lab → · Contrast checker → · Palette generator →

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