#7EA252#7EA252

#7EA252 is a light, moderate yellow-green. Relative luminance 0.309; OKLCH L 66.7% C 0.115 H 129.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#7EA252
RGBrgb(126, 162, 82)
HSLhsl(87, 33%, 48%)
HSVhsv(87, 49%, 64%)
CMYKcmyk(22.2%, 0%, 49.4%, 36.5%)
CIE-LABlab(62.41, -26.19, 37.40)
CIE-LCHlch(62.41, 45.66, 125.00°)
OKLaboklab(66.69% -0.0727 0.0897)
OKLCHoklch(66.69% 0.115 129.1)
XYZxyz(23.0473, 30.8851, 12.7282)
Luminance0.3089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA252 #7652A2
analogous
#A29E52 #7EA252 #56A252
triadic
#7EA252 #527EA2 #A2527E
tetradic
#7EA252 #52A29E #7652A2 #A25256
square
#7EA252 #52A29E #7652A2 #A25256
split-complementary
#7EA252 #5256A2 #9E52A2
monochromatic
#3F5129 #5E793D #7EA252 #9CBA77 #BACFA0

Accessibility & contrast

On white

2.93
#7EA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#7EA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA252
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA252#FFFFFF#000000##000000
##7EA2521.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994B
Deuteranopia (green-blind)
#A39657
Tritanopia (blue-blind)
#819C8F
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea252;
/* rgb */ color: rgb(126, 162, 82);
/* oklch */ color: oklch(66.7% 0.115 129.1);
Tailwind
colors: {
  custom: {
    50: '#a5bd84',
    500: '#7ea252',
    950: '#000000',
  },
}
SCSS
$custom: #7ea252;
$custom-light: #a5bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea252",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 87,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.66689,
    "c": 0.11547,
    "h": 129.1
  },
  "luminance": 0.30885
}

Semantic roles & 50–950 ramp

primary
#7EA252
secondary
#A694BC
accent
#5FC98F
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA252

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

Preview Lab → · Contrast checker → · Palette generator →

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