#7EA225#7EA225

#7EA225 is a light, vivid yellow-green. Relative luminance 0.304; OKLCH L 66.2% C 0.152 H 124.9°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7EA225
RGBrgb(126, 162, 37)
HSLhsl(77, 63%, 39%)
HSVhsv(77, 77%, 64%)
CMYKcmyk(22.2%, 0%, 77.2%, 36.5%)
CIE-LABlab(62.01, -29.90, 56.46)
CIE-LCHlch(62.01, 63.88, 117.90°)
OKLaboklab(66.23% -0.0869 0.1248)
OKLCHoklch(66.23% 0.152 124.9)
XYZxyz(21.8586, 30.4096, 6.4679)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA225 #4925A2
analogous
#A28825 #7EA225 #40A225
triadic
#7EA225 #257EA2 #A2257E
tetradic
#7EA225 #25A288 #4925A2 #A22540
square
#7EA225 #25A288 #4925A2 #A22540
split-complementary
#7EA225 #2540A2 #8825A2
monochromatic
#313E0E #57701A #7EA225 #A3D134 #BADC65

Accessibility & contrast

On white

2.97
#7EA225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#7EA225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA225
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA225#FFFFFF#000000##000000
##7EA2251.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ea225;
/* rgb */ color: rgb(126, 162, 37);
/* oklch */ color: oklch(66.2% 0.152 124.9);
Tailwind
colors: {
  custom: {
    50: '#a7bd6a',
    500: '#7ea225',
    950: '#000000',
  },
}
SCSS
$custom: #7ea225;
$custom-light: #a7bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea225",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 77.28,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66232,
    "c": 0.15206,
    "h": 124.9
  },
  "luminance": 0.3041
}

Semantic roles & 50–950 ramp

primary
#7EA225
secondary
#7D61C2
accent
#42E671
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA225

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

Preview Lab → · Contrast checker → · Palette generator →

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