#7A8822#7A8822

#7A8822 is a mid, vivid yellow. Relative luminance 0.219; OKLCH L 59.6% C 0.124 H 117.2°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#7A8822
RGBrgb(122, 136, 34)
HSLhsl(68, 60%, 33%)
HSVhsv(68, 75%, 53%)
CMYKcmyk(10.3%, 0%, 75%, 46.7%)
CIE-LABlab(53.88, -18.84, 49.68)
CIE-LCHlch(53.88, 53.13, 110.76°)
OKLaboklab(59.6% -0.0566 0.1101)
OKLCHoklch(59.6% 0.124 117.2)
XYZxyz(17.1193, 21.8616, 4.8309)
Luminance0.2186 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8822 #302288
analogous
#886322 #7A8822 #478822
triadic
#7A8822 #227A88 #88227A
tetradic
#7A8822 #228863 #302288 #882247
square
#7A8822 #228863 #302288 #882247
split-complementary
#7A8822 #224788 #632288
monochromatic
#22260A #4E5716 #7A8822 #A6B92E #C2D351

Accessibility & contrast

On white

3.91
#7A8822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#7A8822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8822
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8822#FFFFFF#000000##000000
##7A88221.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92800E
Deuteranopia (green-blind)
#90812B
Tritanopia (blue-blind)
#828074
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #7a8822;
/* rgb */ color: rgb(122, 136, 34);
/* oklch */ color: oklch(59.6% 0.124 117.2);
Tailwind
colors: {
  custom: {
    50: '#a3aa65',
    500: '#7a8822',
    950: '#000000',
  },
}
SCSS
$custom: #7a8822;
$custom-light: #a3aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8822",
  "rgb": {
    "r": 122,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 68.235,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59596,
    "c": 0.12376,
    "h": 117.2
  },
  "luminance": 0.21861
}

Semantic roles & 50–950 ramp

primary
#7A8822
secondary
#5D4FB7
accent
#45E35A
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F1006
muted
#7F7F7A

Preview Lab

Preview with #7A8822

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

Preview Lab → · Contrast checker → · Palette generator →

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