#7AA531#7AA531

#7AA531 is a light, vivid yellow-green. Relative luminance 0.313; OKLCH L 66.8% C 0.150 H 127.7°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#7AA531
RGBrgb(122, 165, 49)
HSLhsl(82, 54%, 42%)
HSVhsv(82, 70%, 65%)
CMYKcmyk(26.1%, 0%, 70.3%, 35.3%)
CIE-LABlab(62.73, -32.21, 52.76)
CIE-LCHlch(62.73, 61.81, 121.41°)
OKLaboklab(66.78% -0.092 0.119)
OKLCHoklch(66.78% 0.15 127.7)
XYZxyz(22.0356, 31.2691, 7.7797)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA531 #5C31A5
analogous
#A59631 #7AA531 #40A531
triadic
#7AA531 #317AA5 #A5317A
tetradic
#7AA531 #31A596 #5C31A5 #A53140
square
#7AA531 #31A596 #5C31A5 #A53140
split-complementary
#7AA531 #3140A5 #9631A5
monochromatic
#344715 #577623 #7AA531 #9AC94A #B4D779

Accessibility & contrast

On white

2.89
#7AA531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#7AA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA531
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA531#FFFFFF#000000##000000
##7AA5311.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A1F
Deuteranopia (green-blind)
#A7973B
Tritanopia (blue-blind)
#7E9D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7aa531;
/* rgb */ color: rgb(122, 165, 49);
/* oklch */ color: oklch(66.8% 0.150 127.7);
Tailwind
colors: {
  custom: {
    50: '#a4c070',
    500: '#7aa531',
    950: '#000000',
  },
}
SCSS
$custom: #7aa531;
$custom-light: #a4c070;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa531",
  "rgb": {
    "r": 122,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 82.241,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.66781,
    "c": 0.15043,
    "h": 127.7
  },
  "luminance": 0.3127
}

Semantic roles & 50–950 ramp

primary
#7AA531
secondary
#8F72C0
accent
#4ADE81
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7AA531

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

Preview Lab → · Contrast checker → · Palette generator →

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