#7EA020#7EA020

#7EA020 is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.7% C 0.152 H 124.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#7EA020
RGBrgb(126, 160, 32)
HSLhsl(76, 67%, 38%)
HSVhsv(76, 80%, 63%)
CMYKcmyk(21.2%, 0%, 80%, 37.3%)
CIE-LABlab(61.38, -29.18, 57.45)
CIE-LCHlch(61.38, 64.43, 116.93°)
OKLaboklab(65.72% -0.0854 0.126)
OKLCHoklch(65.72% 0.152 124.1)
XYZxyz(21.4359, 29.6813, 5.9660)
Luminance0.2968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA020 #4220A0
analogous
#A08220 #7EA020 #3EA020
triadic
#7EA020 #207EA0 #A0207E
tetradic
#7EA020 #20A082 #4220A0 #A0203E
square
#7EA020 #20A082 #4220A0 #A0203E
split-complementary
#7EA020 #203EA0 #8220A0
monochromatic
#2E3A0C #566D16 #7EA020 #A6D32A #BCDE5C

Accessibility & contrast

On white

3.03
#7EA020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#7EA020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA020
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA020#FFFFFF#000000##000000
##7EA0201.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#849889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ea020;
/* rgb */ color: rgb(126, 160, 32);
/* oklch */ color: oklch(65.7% 0.152 124.1);
Tailwind
colors: {
  custom: {
    50: '#a7bc67',
    500: '#7ea020',
    950: '#000000',
  },
}
SCSS
$custom: #7ea020;
$custom-light: #a7bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea020",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 32
  },
  "hsl": {
    "h": 75.938,
    "s": 66.667,
    "l": 37.647
  },
  "oklch": {
    "l": 0.65716,
    "c": 0.15219,
    "h": 124.1
  },
  "luminance": 0.29682
}

Semantic roles & 50–950 ramp

primary
#7EA020
secondary
#7559C3
accent
#3EEA6C
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA020

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

Preview Lab → · Contrast checker → · Palette generator →

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