#7A8422#7A8422

#7A8422 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 58.6% C 0.119 H 115.3°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#7A8422
RGBrgb(122, 132, 34)
HSLhsl(66, 59%, 33%)
HSVhsv(66, 74%, 52%)
CMYKcmyk(7.6%, 0%, 74.2%, 48.2%)
CIE-LABlab(52.68, -16.74, 48.52)
CIE-LCHlch(52.68, 51.33, 109.04°)
OKLaboklab(58.63% -0.0508 0.1076)
OKLCHoklch(58.63% 0.119 115.3)
XYZxyz(16.5665, 20.7559, 4.6466)
Luminance0.2076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A8422 #2C2284
analogous
#845D22 #7A8422 #498422
triadic
#7A8422 #227A84 #84227A
tetradic
#7A8422 #22845D #2C2284 #842249
square
#7A8422 #22845D #2C2284 #842249
split-complementary
#7A8422 #224984 #5D2284
monochromatic
#202309 #4D5315 #7A8422 #A7B52F #C4D24F

Accessibility & contrast

On white

4.08
#7A8422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#7A8422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A8422
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A8422#FFFFFF#000000##000000
##7A84221.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D0F
Deuteranopia (green-blind)
#8D7F2A
Tritanopia (blue-blind)
#827C71
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #7a8422;
/* rgb */ color: rgb(122, 132, 34);
/* oklch */ color: oklch(58.6% 0.119 115.3);
Tailwind
colors: {
  custom: {
    50: '#a3a765',
    500: '#7a8422',
    950: '#000000',
  },
}
SCSS
$custom: #7a8422;
$custom-light: #a3a765;
$custom-dark: #000000;
JSON
{
  "hex": "#7a8422",
  "rgb": {
    "r": 122,
    "g": 132,
    "b": 34
  },
  "hsl": {
    "h": 66.122,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58634,
    "c": 0.11901,
    "h": 115.3
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

primary
#7A8422
secondary
#574DB5
accent
#46E256
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#0F0F06
muted
#7F7F7A

Preview Lab

Preview with #7A8422

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

Preview Lab → · Contrast checker → · Palette generator →

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