#7EA127#7EA127

#7EA127 is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 66.0% C 0.150 H 124.7°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#7EA127
RGBrgb(126, 161, 39)
HSLhsl(77, 61%, 39%)
HSVhsv(77, 76%, 63%)
CMYKcmyk(21.7%, 0%, 75.8%, 36.9%)
CIE-LABlab(61.72, -29.32, 55.51)
CIE-LCHlch(61.72, 62.78, 117.84°)
OKLaboklab(66% -0.0852 0.1231)
OKLCHoklch(66% 0.15 124.7)
XYZxyz(21.7155, 30.0716, 6.5794)
Luminance0.3007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA127 #4A27A1
analogous
#A18727 #7EA127 #41A127
triadic
#7EA127 #277EA1 #A1277E
tetradic
#7EA127 #27A187 #4A27A1 #A12741
square
#7EA127 #27A187 #4A27A1 #A12741
split-complementary
#7EA127 #2741A1 #8727A1
monochromatic
#313E0F #57701B #7EA127 #A3CE37 #BADA68

Accessibility & contrast

On white

2.99
#7EA127 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.01
#7EA127 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA127
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA127#FFFFFF#000000##000000
##7EA1271.002.997.017.01
#FFFFFF2.991.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960B
Deuteranopia (green-blind)
#A59532
Tritanopia (blue-blind)
#84998A
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #7ea127;
/* rgb */ color: rgb(126, 161, 39);
/* oklch */ color: oklch(66.0% 0.150 124.7);
Tailwind
colors: {
  custom: {
    50: '#a7bd6b',
    500: '#7ea127',
    950: '#000000',
  },
}
SCSS
$custom: #7ea127;
$custom-light: #a7bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea127",
  "rgb": {
    "r": 126,
    "g": 161,
    "b": 39
  },
  "hsl": {
    "h": 77.213,
    "s": 61,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66001,
    "c": 0.1497,
    "h": 124.7
  },
  "luminance": 0.30072
}

Semantic roles & 50–950 ramp

primary
#7EA127
secondary
#7E63C0
accent
#44E472
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA127

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

Preview Lab → · Contrast checker → · Palette generator →

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