#7EA852#7EA852

#7EA852 is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 68.1% C 0.124 H 130.6°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#7EA852
RGBrgb(126, 168, 82)
HSLhsl(89, 34%, 49%)
HSVhsv(89, 51%, 66%)
CMYKcmyk(25%, 0%, 51.2%, 34.1%)
CIE-LABlab(64.20, -29.10, 39.57)
CIE-LCHlch(64.20, 49.12, 126.33°)
OKLaboklab(68.14% -0.0808 0.0945)
OKLCHoklch(68.14% 0.124 130.6)
XYZxyz(24.1295, 33.0495, 13.0889)
Luminance0.3305 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA852 #7C52A8
analogous
#A8A752 #7EA852 #53A852
triadic
#7EA852 #527EA8 #A8527E
tetradic
#7EA852 #52A8A7 #7C52A8 #A85253
square
#7EA852 #52A8A7 #7C52A8 #A85253
split-complementary
#7EA852 #5253A8 #A752A8
monochromatic
#40562A #5F7F3E #7EA852 #9CBE79 #BBD2A3

Accessibility & contrast

On white

2.76
#7EA852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#7EA852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA852
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA852#FFFFFF#000000##000000
##7EA8521.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9E4A
Deuteranopia (green-blind)
#A99B57
Tritanopia (blue-blind)
#80A294
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7ea852;
/* rgb */ color: rgb(126, 168, 82);
/* oklch */ color: oklch(68.1% 0.124 130.6);
Tailwind
colors: {
  custom: {
    50: '#a5c285',
    500: '#7ea852',
    950: '#000000',
  },
}
SCSS
$custom: #7ea852;
$custom-light: #a5c285;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea852",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 82
  },
  "hsl": {
    "h": 89.302,
    "s": 34.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.68136,
    "c": 0.12434,
    "h": 130.6
  },
  "luminance": 0.3305
}

Semantic roles & 50–950 ramp

primary
#7EA852
secondary
#AA97BF
accent
#5DCA93
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA852

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

Preview Lab → · Contrast checker → · Palette generator →

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