#7A7922#7A7922

#7A7922 is a mid, moderate yellow. Relative luminance 0.179; OKLCH L 56.0% C 0.107 H 108.7°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#7A7922
RGBrgb(122, 121, 34)
HSLhsl(59, 56%, 31%)
HSVhsv(59, 72%, 48%)
CMYKcmyk(0%, 0.8%, 72.1%, 52.2%)
CIE-LABlab(49.41, -10.82, 45.33)
CIE-LCHlch(49.41, 46.60, 103.43°)
OKLaboklab(56.02% -0.0342 0.1009)
OKLCHoklch(56.02% 0.107 108.7)
XYZxyz(15.1527, 17.9283, 4.1754)
Luminance0.1793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A7922 #22237A
analogous
#7A4D22 #7A7922 #4F7A22
triadic
#7A7922 #227A79 #79227A
tetradic
#7A7922 #227A4D #22237A #7A224F
square
#7A7922 #227A4D #22237A #7A224F
split-complementary
#7A7922 #224F7A #4D227A
monochromatic
#1A1A07 #4A4A15 #7A7922 #AAA82F #CDCB4A

Accessibility & contrast

On white

4.58
#7A7922 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#7A7922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A7922
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A7922#FFFFFF#000000##000000
##7A79221.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#837414
Deuteranopia (green-blind)
#847728
Tritanopia (blue-blind)
#837168
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #7a7922;
/* rgb */ color: rgb(122, 121, 34);
/* oklch */ color: oklch(56.0% 0.107 108.7);
Tailwind
colors: {
  custom: {
    50: '#a39f63',
    500: '#7a7922',
    950: '#000000',
  },
}
SCSS
$custom: #7a7922;
$custom-light: #a39f63;
$custom-dark: #000000;
JSON
{
  "hex": "#7a7922",
  "rgb": {
    "r": 122,
    "g": 121,
    "b": 34
  },
  "hsl": {
    "h": 59.318,
    "s": 56.41,
    "l": 30.588
  },
  "oklch": {
    "l": 0.56015,
    "c": 0.10655,
    "h": 108.7
  },
  "luminance": 0.17928
}

Semantic roles & 50–950 ramp

primary
#7A7922
secondary
#4B4CAD
accent
#4AE048
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A

Preview Lab

Preview with #7A7922

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

Preview Lab → · Contrast checker → · Palette generator →

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