#7AAA31#7AAA31

#7AAA31 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.0% C 0.157 H 128.8°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#7AAA31
RGBrgb(122, 170, 49)
HSLhsl(84, 55%, 43%)
HSVhsv(84, 71%, 67%)
CMYKcmyk(28.2%, 0%, 71.2%, 33.3%)
CIE-LABlab(64.25, -34.52, 54.29)
CIE-LCHlch(64.25, 64.34, 122.45°)
OKLaboklab(68.01% -0.0984 0.1222)
OKLCHoklch(68.01% 0.157 128.8)
XYZxyz(22.9551, 33.1082, 8.0862)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AAA31 #6131AA
analogous
#AA9D31 #7AAA31 #3DAA31
triadic
#7AAA31 #317AAA #AA317A
tetradic
#7AAA31 #31AA9D #6131AA #AA313D
square
#7AAA31 #31AA9D #6131AA #AA313D
split-complementary
#7AAA31 #313DAA #9D31AA
monochromatic
#364B16 #587A23 #7AAA31 #99CC4D #B4D97C

Accessibility & contrast

On white

2.76
#7AAA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#7AAA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AAA31
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AAA31#FFFFFF#000000##000000
##7AAA311.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E1D
Deuteranopia (green-blind)
#AC9B3C
Tritanopia (blue-blind)
#7EA292
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7aaa31;
/* rgb */ color: rgb(122, 170, 49);
/* oklch */ color: oklch(68.0% 0.157 128.8);
Tailwind
colors: {
  custom: {
    50: '#a4c371',
    500: '#7aaa31',
    950: '#000000',
  },
}
SCSS
$custom: #7aaa31;
$custom-light: #a4c371;
$custom-dark: #000000;
JSON
{
  "hex": "#7aaa31",
  "rgb": {
    "r": 122,
    "g": 170,
    "b": 49
  },
  "hsl": {
    "h": 83.802,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.6801,
    "c": 0.15688,
    "h": 128.8
  },
  "luminance": 0.33109
}

Semantic roles & 50–950 ramp

primary
#7AAA31
secondary
#9375C2
accent
#49DF84
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AAA31

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

Preview Lab → · Contrast checker → · Palette generator →

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