#7A8622#7A8622

#7A8622 is a mid, vivid yellow. Relative luminance 0.213; OKLCH L 59.1% C 0.121 H 116.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#7A8622
RGBrgb(122, 134, 34)
HSLhsl(67, 60%, 33%)
HSVhsv(67, 75%, 53%)
CMYKcmyk(9%, 0%, 74.6%, 47.5%)
CIE-LABlab(53.28, -17.79, 49.10)
CIE-LCHlch(53.28, 52.23, 109.92°)
OKLaboklab(59.11% -0.0537 0.1089)
OKLCHoklch(59.11% 0.121 116.3)
XYZxyz(16.8403, 21.3035, 4.7379)
Luminance0.2130 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8622 #2E2286
analogous
#866022 #7A8622 #488622
triadic
#7A8622 #227A86 #86227A
tetradic
#7A8622 #228660 #2E2286 #862248
square
#7A8622 #228660 #2E2286 #862248
split-complementary
#7A8622 #224886 #602286
monochromatic
#212409 #4E5516 #7A8622 #A6B72E #C3D350

Accessibility & contrast

On white

3.99
#7A8622 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#7A8622 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8622
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8622#FFFFFF#000000##000000
##7A86221.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0F
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#827E73
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #7a8622;
/* rgb */ color: rgb(122, 134, 34);
/* oklch */ color: oklch(59.1% 0.121 116.3);
Tailwind
colors: {
  custom: {
    50: '#a3a965',
    500: '#7a8622',
    950: '#000000',
  },
}
SCSS
$custom: #7a8622;
$custom-light: #a3a965;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8622",
  "rgb": {
    "r": 122,
    "g": 134,
    "b": 34
  },
  "hsl": {
    "h": 67.2,
    "s": 59.524,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.12137,
    "h": 116.3
  },
  "luminance": 0.21303
}

Semantic roles & 50–950 ramp

primary
#7A8622
secondary
#5A4EB6
accent
#45E358
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8622

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

Preview Lab → · Contrast checker → · Palette generator →

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