#7EA522#7EA522

#7EA522 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.9% C 0.157 H 125.5°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#7EA522
RGBrgb(126, 165, 34)
HSLhsl(78, 66%, 39%)
HSVhsv(78, 79%, 65%)
CMYKcmyk(23.6%, 0%, 79.4%, 35.3%)
CIE-LABlab(62.90, -31.46, 58.23)
CIE-LCHlch(62.90, 66.18, 118.38°)
OKLaboklab(66.95% -0.0914 0.128)
OKLCHoklch(66.95% 0.157 125.5)
XYZxyz(22.3482, 31.4611, 6.4083)
Luminance0.3146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA522 #4922A5
analogous
#A58B22 #7EA522 #3CA522
triadic
#7EA522 #227EA5 #A5227E
tetradic
#7EA522 #22A58B #4922A5 #A5223C
square
#7EA522 #22A58B #4922A5 #A5223C
split-complementary
#7EA522 #223CA5 #8B22A5
monochromatic
#31400D #577218 #7EA522 #A3D430 #BADF63

Accessibility & contrast

On white

2.88
#7EA522 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#7EA522 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA522
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA522#FFFFFF#000000##000000
##7EA5221.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A99830
Tritanopia (blue-blind)
#849D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea522;
/* rgb */ color: rgb(126, 165, 34);
/* oklch */ color: oklch(66.9% 0.157 125.5);
Tailwind
colors: {
  custom: {
    50: '#a7bf69',
    500: '#7ea522',
    950: '#000000',
  },
}
SCSS
$custom: #7ea522;
$custom-light: #a7bf69;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea522",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 34
  },
  "hsl": {
    "h": 77.863,
    "s": 65.829,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66948,
    "c": 0.15729,
    "h": 125.5
  },
  "luminance": 0.31461
}

Semantic roles & 50–950 ramp

primary
#7EA522
secondary
#7D5FC4
accent
#3FE972
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA522

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

Preview Lab → · Contrast checker → · Palette generator →

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