#7EA255#7EA255

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

Color values

HEX#7EA255
RGBrgb(126, 162, 85)
HSLhsl(88, 31%, 48%)
HSVhsv(88, 48%, 64%)
CMYKcmyk(22.2%, 0%, 47.5%, 36.5%)
CIE-LABlab(62.45, -25.83, 35.92)
CIE-LCHlch(62.45, 44.24, 125.72°)
OKLaboklab(66.73% -0.0715 0.0866)
OKLCHoklch(66.73% 0.112 129.6)
XYZxyz(23.1640, 30.9317, 13.3426)
Luminance0.3093 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA255 #7955A2
analogous
#A29F55 #7EA255 #57A255
triadic
#7EA255 #557EA2 #A2557E
tetradic
#7EA255 #55A29F #7955A2 #A25557
square
#7EA255 #55A29F #7955A2 #A25557
split-complementary
#7EA255 #5557A2 #9F55A2
monochromatic
#40522B #5F7A40 #7EA255 #9CBA7B #BACFA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA255#FFFFFF#000000##000000
##7EA2551.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)
#A8994F
Deuteranopia (green-blind)
#A39659
Tritanopia (blue-blind)
#819C90
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea255;
/* rgb */ color: rgb(126, 162, 85);
/* oklch */ color: oklch(66.7% 0.112 129.6);
Tailwind
colors: {
  custom: {
    50: '#a5bd86',
    500: '#7ea255',
    950: '#000000',
  },
}
SCSS
$custom: #7ea255;
$custom-light: #a5bd86;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea255",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 85
  },
  "hsl": {
    "h": 88.052,
    "s": 31.174,
    "l": 48.431
  },
  "oklch": {
    "l": 0.66734,
    "c": 0.11232,
    "h": 129.6
  },
  "luminance": 0.30932
}

Semantic roles & 50–950 ramp

primary
#7EA255
secondary
#A897BC
accent
#60C791
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7EA255

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

Preview Lab → · Contrast checker → · Palette generator →

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