#7A9520#7A9520

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

Color values

HEX#7A9520
RGBrgb(122, 149, 32)
HSLhsl(74, 65%, 35%)
HSVhsv(74, 79%, 58%)
CMYKcmyk(18.1%, 0%, 78.5%, 41.6%)
CIE-LABlab(57.79, -25.51, 54.05)
CIE-LCHlch(57.79, 59.77, 115.27°)
OKLaboklab(62.74% -0.0751 0.1189)
OKLCHoklch(62.74% 0.141 122.3)
XYZxyz(19.0345, 25.7367, 5.3311)
Luminance0.2574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9520 #3B2095
analogous
#957520 #7A9520 #3F9520
triadic
#7A9520 #207A95 #95207A
tetradic
#7A9520 #209575 #3B2095 #95203F
square
#7A9520 #209575 #3B2095 #95203F
split-complementary
#7A9520 #203F95 #752095
monochromatic
#27300A #516315 #7A9520 #A3C72B #BCDA55

Accessibility & contrast

On white

3.42
#7A9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7A9520#FFFFFF#000000##000000
##7A95201.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7a9520;
/* rgb */ color: rgb(122, 149, 32);
/* oklch */ color: oklch(62.7% 0.141 122.3);
Tailwind
colors: {
  custom: {
    50: '#a4b466',
    500: '#7a9520',
    950: '#000000',
  },
}
SCSS
$custom: #7a9520;
$custom-light: #a4b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9520",
  "rgb": {
    "r": 122,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 73.846,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62741,
    "c": 0.14068,
    "h": 122.3
  },
  "luminance": 0.25737
}

Semantic roles & 50–950 ramp

primary
#7A9520
secondary
#6C53BE
accent
#40E867
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7A9520

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

Preview Lab → · Contrast checker → · Palette generator →

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