#7EA427#7EA427

#7EA427 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.7% C 0.153 H 125.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7EA427
RGBrgb(126, 164, 39)
HSLhsl(78, 62%, 40%)
HSVhsv(78, 76%, 64%)
CMYKcmyk(23.2%, 0%, 76.2%, 35.7%)
CIE-LABlab(62.62, -30.74, 56.37)
CIE-LCHlch(62.62, 64.21, 118.61°)
OKLaboklab(66.73% -0.0891 0.1249)
OKLCHoklch(66.73% 0.153 125.5)
XYZxyz(22.2460, 31.1327, 6.7563)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA427 #4D27A4
analogous
#A48C27 #7EA427 #40A427
triadic
#7EA427 #277EA4 #A4277E
tetradic
#7EA427 #27A48C #4D27A4 #A42740
square
#7EA427 #27A48C #4D27A4 #A42740
split-complementary
#7EA427 #2740A4 #8C27A4
monochromatic
#32410F #58731B #7EA427 #A2D038 #B9DC6A

Accessibility & contrast

On white

2.91
#7EA427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#7EA427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA427
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA427#FFFFFF#000000##000000
##7EA4271.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9909
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#849C8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea427;
/* rgb */ color: rgb(126, 164, 39);
/* oklch */ color: oklch(66.7% 0.153 125.5);
Tailwind
colors: {
  custom: {
    50: '#a7bf6b',
    500: '#7ea427',
    950: '#000000',
  },
}
SCSS
$custom: #7ea427;
$custom-light: #a7bf6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea427",
  "rgb": {
    "r": 126,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 78.24,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66733,
    "c": 0.15342,
    "h": 125.5
  },
  "luminance": 0.31133
}

Semantic roles & 50–950 ramp

primary
#7EA427
secondary
#8165C2
accent
#43E574
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA427

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

Preview Lab → · Contrast checker → · Palette generator →

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