#7AA231#7AA231

#7AA231 is a light, vivid yellow-green. Relative luminance 0.302; OKLCH L 66.0% C 0.147 H 127.0°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#7AA231
RGBrgb(122, 162, 49)
HSLhsl(81, 54%, 41%)
HSVhsv(81, 70%, 64%)
CMYKcmyk(24.7%, 0%, 69.8%, 36.5%)
CIE-LABlab(61.83, -30.80, 51.83)
CIE-LCHlch(61.83, 60.29, 120.72°)
OKLaboklab(66.04% -0.0882 0.1171)
OKLCHoklch(66.04% 0.147 127)
XYZxyz(21.5008, 30.1996, 7.6015)
Luminance0.3020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA231 #5931A2
analogous
#A29231 #7AA231 #42A231
triadic
#7AA231 #317AA2 #A2317A
tetradic
#7AA231 #31A292 #5931A2 #A23142
square
#7AA231 #31A292 #5931A2 #A23142
split-complementary
#7AA231 #3142A2 #9231A2
monochromatic
#334415 #577323 #7AA231 #9BC848 #B5D677

Accessibility & contrast

On white

2.98
#7AA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#7AA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA231
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA231#FFFFFF#000000##000000
##7AA2311.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9720
Deuteranopia (green-blind)
#A5953A
Tritanopia (blue-blind)
#7F9B8B
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7aa231;
/* rgb */ color: rgb(122, 162, 49);
/* oklch */ color: oklch(66.0% 0.147 127.0);
Tailwind
colors: {
  custom: {
    50: '#a4bd70',
    500: '#7aa231',
    950: '#000000',
  },
}
SCSS
$custom: #7aa231;
$custom-light: #a4bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa231",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 81.239,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66044,
    "c": 0.14654,
    "h": 127
  },
  "luminance": 0.302
}

Semantic roles & 50–950 ramp

primary
#7AA231
secondary
#8C71BE
accent
#4BDD7F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#0F1208
muted
#7F817B

Preview Lab

Preview with #7AA231

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

Preview Lab → · Contrast checker → · Palette generator →

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