#7A8722#7A8722

#7A8722 is a mid, vivid yellow. Relative luminance 0.216; OKLCH L 59.4% C 0.123 H 116.7°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#7A8722
RGBrgb(122, 135, 34)
HSLhsl(68, 60%, 33%)
HSVhsv(68, 75%, 53%)
CMYKcmyk(9.6%, 0%, 74.8%, 47.1%)
CIE-LABlab(53.58, -18.31, 49.39)
CIE-LCHlch(53.58, 52.68, 110.35°)
OKLaboklab(59.36% -0.0551 0.1095)
OKLCHoklch(59.36% 0.123 116.7)
XYZxyz(16.9792, 21.5812, 4.7842)
Luminance0.2158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8722 #2F2287
analogous
#876122 #7A8722 #478722
triadic
#7A8722 #227A87 #87227A
tetradic
#7A8722 #228761 #2F2287 #872247
square
#7A8722 #228761 #2F2287 #872247
split-complementary
#7A8722 #224787 #612287
monochromatic
#222509 #4E5616 #7A8722 #A6B82E #C2D350

Accessibility & contrast

On white

3.95
#7A8722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#7A8722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8722
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8722#FFFFFF#000000##000000
##7A87221.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800E
Deuteranopia (green-blind)
#8F812A
Tritanopia (blue-blind)
#827F74
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #7a8722;
/* rgb */ color: rgb(122, 135, 34);
/* oklch */ color: oklch(59.4% 0.123 116.7);
Tailwind
colors: {
  custom: {
    50: '#a3a965',
    500: '#7a8722',
    950: '#000000',
  },
}
SCSS
$custom: #7a8722;
$custom-light: #a3a965;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8722",
  "rgb": {
    "r": 122,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 67.723,
    "s": 59.763,
    "l": 33.137
  },
  "oklch": {
    "l": 0.59355,
    "c": 0.12256,
    "h": 116.7
  },
  "luminance": 0.21581
}

Semantic roles & 50–950 ramp

primary
#7A8722
secondary
#5C4EB7
accent
#45E359
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8722

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

Preview Lab → · Contrast checker → · Palette generator →

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