#7EA256#7EA256

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

Color values

HEX#7EA256
RGBrgb(126, 162, 86)
HSLhsl(88, 31%, 49%)
HSVhsv(88, 47%, 64%)
CMYKcmyk(22.2%, 0%, 46.9%, 36.5%)
CIE-LABlab(62.46, -25.71, 35.42)
CIE-LCHlch(62.46, 43.77, 125.97°)
OKLaboklab(66.75% -0.0711 0.0855)
OKLCHoklch(66.75% 0.111 129.8)
XYZxyz(23.2040, 30.9477, 13.5533)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA256 #7A56A2
analogous
#A2A056 #7EA256 #58A256
triadic
#7EA256 #567EA2 #A2567E
tetradic
#7EA256 #56A2A0 #7A56A2 #A25658
square
#7EA256 #56A2A0 #7A56A2 #A25658
split-complementary
#7EA256 #5658A2 #A056A2
monochromatic
#40522C #5F7A41 #7EA256 #9CB97C #BACFA4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA256#FFFFFF#000000##000000
##7EA2561.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)
#A89950
Deuteranopia (green-blind)
#A3965A
Tritanopia (blue-blind)
#809C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea256;
/* rgb */ color: rgb(126, 162, 86);
/* oklch */ color: oklch(66.7% 0.111 129.8);
Tailwind
colors: {
  custom: {
    50: '#a5bd87',
    500: '#7ea256',
    950: '#000000',
  },
}
SCSS
$custom: #7ea256;
$custom-light: #a5bd87;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea256",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 88.421,
    "s": 30.645,
    "l": 48.627
  },
  "oklch": {
    "l": 0.66749,
    "c": 0.11125,
    "h": 129.8
  },
  "luminance": 0.30948
}

Semantic roles & 50–950 ramp

primary
#7EA256
secondary
#A998BC
accent
#61C791
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA256

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

Preview Lab → · Contrast checker → · Palette generator →

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