#7AA252#7AA252

#7AA252 is a light, moderate yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.117 H 130.8°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7AA252
RGBrgb(122, 162, 82)
HSLhsl(90, 33%, 48%)
HSVhsv(90, 49%, 64%)
CMYKcmyk(24.7%, 0%, 49.4%, 36.5%)
CIE-LABlab(62.16, -27.72, 37.03)
CIE-LCHlch(62.16, 46.26, 126.82°)
OKLaboklab(66.42% -0.0768 0.0889)
OKLCHoklch(66.42% 0.117 130.8)
XYZxyz(22.4691, 30.5869, 12.7011)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7AA252 #7A52A2
analogous
#A2A252 #7AA252 #52A252
triadic
#7AA252 #527AA2 #A2527A
tetradic
#7AA252 #52A2A2 #7A52A2 #A25252
square
#7AA252 #52A2A2 #7A52A2 #A25252
split-complementary
#7AA252 #5252A2 #A252A2
monochromatic
#3D5129 #5B793D #7AA252 #99BA77 #B7CFA0

Accessibility & contrast

On white

2.95
#7AA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7AA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7AA252
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7AA252#FFFFFF#000000##000000
##7AA2521.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8984B
Deuteranopia (green-blind)
#A29557
Tritanopia (blue-blind)
#7C9C8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7aa252;
/* rgb */ color: rgb(122, 162, 82);
/* oklch */ color: oklch(66.4% 0.117 130.8);
Tailwind
colors: {
  custom: {
    50: '#a2bd84',
    500: '#7aa252',
    950: '#000000',
  },
}
SCSS
$custom: #7aa252;
$custom-light: #a2bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7aa252",
  "rgb": {
    "r": 122,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 90,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66419,
    "c": 0.11749,
    "h": 130.8
  },
  "luminance": 0.30587
}

Semantic roles & 50–950 ramp

primary
#7AA252
secondary
#A894BC
accent
#5FC994
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7AA252

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

Preview Lab → · Contrast checker → · Palette generator →

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