#7EA257#7EA257

#7EA257 is a light, moderate yellow-green. Relative luminance 0.310; OKLCH L 66.8% C 0.110 H 129.9°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#7EA257
RGBrgb(126, 162, 87)
HSLhsl(89, 30%, 49%)
HSVhsv(89, 46%, 64%)
CMYKcmyk(22.2%, 0%, 46.3%, 36.5%)
CIE-LABlab(62.48, -25.59, 34.92)
CIE-LCHlch(62.48, 43.29, 126.23°)
OKLaboklab(66.77% -0.0707 0.0845)
OKLCHoklch(66.77% 0.11 129.9)
XYZxyz(23.2445, 30.9640, 13.7670)
Luminance0.3096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA257 #7B57A2
analogous
#A2A157 #7EA257 #59A257
triadic
#7EA257 #577EA2 #A2577E
tetradic
#7EA257 #57A2A1 #7B57A2 #A25759
square
#7EA257 #57A2A1 #7B57A2 #A25759
split-complementary
#7EA257 #5759A2 #A157A2
monochromatic
#40522C #5F7A42 #7EA257 #9CB97D #BBCFA5

Accessibility & contrast

On white

2.92
#7EA257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#7EA257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA257
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA257#FFFFFF#000000##000000
##7EA2571.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89951
Deuteranopia (green-blind)
#A3965B
Tritanopia (blue-blind)
#809C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea257;
/* rgb */ color: rgb(126, 162, 87);
/* oklch */ color: oklch(66.8% 0.110 129.9);
Tailwind
colors: {
  custom: {
    50: '#a5bd88',
    500: '#7ea257',
    950: '#000000',
  },
}
SCSS
$custom: #7ea257;
$custom-light: #a5bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea257",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 88.8,
    "s": 30.12,
    "l": 48.824
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.11017,
    "h": 129.9
  },
  "luminance": 0.30964
}

Semantic roles & 50–950 ramp

primary
#7EA257
secondary
#AA99BC
accent
#61C692
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA257

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

Preview Lab → · Contrast checker → · Palette generator →

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