#7EA229#7EA229

#7EA229 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.3% C 0.150 H 125.1°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#7EA229
RGBrgb(126, 162, 41)
HSLhsl(78, 60%, 40%)
HSVhsv(78, 75%, 64%)
CMYKcmyk(22.2%, 0%, 74.7%, 36.5%)
CIE-LABlab(62.03, -29.69, 55.12)
CIE-LCHlch(62.03, 62.60, 118.31°)
OKLaboklab(66.26% -0.086 0.1226)
OKLCHoklch(66.26% 0.15 125.1)
XYZxyz(21.9249, 30.4361, 6.8171)
Luminance0.3044 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA229 #4D29A2
analogous
#A28929 #7EA229 #42A229
triadic
#7EA229 #297EA2 #A2297E
tetradic
#7EA229 #29A289 #4D29A2 #A22942
square
#7EA229 #29A289 #4D29A2 #A22942
split-complementary
#7EA229 #2942A2 #8929A2
monochromatic
#324010 #58711D #7EA229 #A2CD3B #B9DA6C

Accessibility & contrast

On white

2.96
#7EA229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#7EA229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA229
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA229#FFFFFF#000000##000000
##7EA2291.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9710
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#849A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea229;
/* rgb */ color: rgb(126, 162, 41);
/* oklch */ color: oklch(66.3% 0.150 125.1);
Tailwind
colors: {
  custom: {
    50: '#a7bd6c',
    500: '#7ea229',
    950: '#000000',
  },
}
SCSS
$custom: #7ea229;
$custom-light: #a7bd6c;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea229",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 77.851,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66258,
    "c": 0.14977,
    "h": 125.1
  },
  "luminance": 0.30436
}

Semantic roles & 50–950 ramp

primary
#7EA229
secondary
#8167C0
accent
#45E374
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA229

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

Preview Lab → · Contrast checker → · Palette generator →

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