#7EA251#7EA251

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

Color values

HEX#7EA251
RGBrgb(126, 162, 81)
HSLhsl(87, 33%, 48%)
HSVhsv(87, 50%, 64%)
CMYKcmyk(22.2%, 0%, 50%, 36.5%)
CIE-LABlab(62.40, -26.30, 37.89)
CIE-LCHlch(62.40, 46.12, 124.77°)
OKLaboklab(66.68% -0.0732 0.0907)
OKLCHoklch(66.68% 0.117 128.9)
XYZxyz(23.0095, 30.8700, 12.5292)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA251 #7551A2
analogous
#A29D51 #7EA251 #55A251
triadic
#7EA251 #517EA2 #A2517E
tetradic
#7EA251 #51A29D #7551A2 #A25155
square
#7EA251 #51A29D #7551A2 #A25155
split-complementary
#7EA251 #5155A2 #9D51A2
monochromatic
#3F5028 #5E793D #7EA251 #9CBA76 #B9CF9F

Accessibility & contrast

On white

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

On black

7.17
#7EA251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA251
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA251#FFFFFF#000000##000000
##7EA2511.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7ea251;
/* rgb */ color: rgb(126, 162, 81);
/* oklch */ color: oklch(66.7% 0.117 128.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd84',
    500: '#7ea251',
    950: '#000000',
  },
}
SCSS
$custom: #7ea251;
$custom-light: #a5bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea251",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 81
  },
  "hsl": {
    "h": 86.667,
    "s": 33.333,
    "l": 47.647
  },
  "oklch": {
    "l": 0.66675,
    "c": 0.11651,
    "h": 128.9
  },
  "luminance": 0.3087
}

Semantic roles & 50–950 ramp

primary
#7EA251
secondary
#A593BC
accent
#5EC98E
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA251

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

Preview Lab → · Contrast checker → · Palette generator →

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