#7A9522#7A9522

#7A9522 is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.8% C 0.140 H 122.4°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#7A9522
RGBrgb(122, 149, 34)
HSLhsl(74, 63%, 36%)
HSVhsv(74, 77%, 58%)
CMYKcmyk(18.1%, 0%, 77.2%, 41.6%)
CIE-LABlab(57.80, -25.42, 53.40)
CIE-LCHlch(57.80, 59.14, 115.45°)
OKLaboklab(62.75% -0.0747 0.1179)
OKLCHoklch(62.75% 0.14 122.4)
XYZxyz(19.0625, 25.7479, 5.4786)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9522 #3D2295
analogous
#957622 #7A9522 #409522
triadic
#7A9522 #227A95 #95227A
tetradic
#7A9522 #229576 #3D2295 #952240
square
#7A9522 #229576 #3D2295 #952240
split-complementary
#7A9522 #224095 #762295
monochromatic
#28310B #516317 #7A9522 #A3C72D #BBD958

Accessibility & contrast

On white

3.41
#7A9522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#7A9522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9522
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9522#FFFFFF#000000##000000
##7A95221.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B05
Deuteranopia (green-blind)
#9B8B2D
Tritanopia (blue-blind)
#818D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7a9522;
/* rgb */ color: rgb(122, 149, 34);
/* oklch */ color: oklch(62.8% 0.140 122.4);
Tailwind
colors: {
  custom: {
    50: '#a4b467',
    500: '#7a9522',
    950: '#000000',
  },
}
SCSS
$custom: #7a9522;
$custom-light: #a4b467;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9522",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 34
  },
  "hsl": {
    "h": 74.087,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62753,
    "c": 0.13958,
    "h": 122.4
  },
  "luminance": 0.25748
}

Semantic roles & 50–950 ramp

primary
#7A9522
secondary
#6E56BD
accent
#42E668
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9522

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

Preview Lab → · Contrast checker → · Palette generator →

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