#7A9020#7A9020

#7A9020 is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.5% C 0.135 H 120.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#7A9020
RGBrgb(122, 144, 32)
HSLhsl(72, 64%, 35%)
HSVhsv(72, 78%, 56%)
CMYKcmyk(15.3%, 0%, 77.8%, 43.5%)
CIE-LABlab(56.28, -23.02, 52.65)
CIE-LCHlch(56.28, 57.46, 113.62°)
OKLaboklab(61.52% -0.0683 0.116)
OKLCHoklch(61.52% 0.135 120.5)
XYZxyz(18.2604, 24.1884, 5.0731)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7A9020 #362090
analogous
#906E20 #7A9020 #429020
triadic
#7A9020 #207A90 #90207A
tetradic
#7A9020 #20906E #362090 #902042
square
#7A9020 #20906E #362090 #902042
split-complementary
#7A9020 #204290 #6E2090
monochromatic
#252C0A #505E15 #7A9020 #A4C22B #BED952

Accessibility & contrast

On white

3.60
#7A9020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#7A9020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7A9020
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7A9020#FFFFFF#000000##000000
##7A90201.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#97872B
Tritanopia (blue-blind)
#81887B
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #7a9020;
/* rgb */ color: rgb(122, 144, 32);
/* oklch */ color: oklch(61.5% 0.135 120.5);
Tailwind
colors: {
  custom: {
    50: '#a4b065',
    500: '#7a9020',
    950: '#000000',
  },
}
SCSS
$custom: #7a9020;
$custom-light: #a4b065;
$custom-dark: #000000;
JSON
{
  "hex": "#7a9020",
  "rgb": {
    "r": 122,
    "g": 144,
    "b": 32
  },
  "hsl": {
    "h": 71.786,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.61522,
    "c": 0.13458,
    "h": 120.5
  },
  "luminance": 0.24188
}

Semantic roles & 50–950 ramp

primary
#7A9020
secondary
#6550BC
accent
#41E762
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#101006
muted
#7F7F7A

Preview Lab

Preview with #7A9020

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

Preview Lab → · Contrast checker → · Palette generator →

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