#7EAA27#7EAA27

#7EAA27 is a light, vivid yellow-green. Relative luminance 0.333; OKLCH L 68.2% C 0.161 H 127.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#7EAA27
RGBrgb(126, 170, 39)
HSLhsl(80, 63%, 41%)
HSVhsv(80, 77%, 67%)
CMYKcmyk(25.9%, 0%, 77.1%, 33.3%)
CIE-LABlab(64.43, -33.54, 58.08)
CIE-LCHlch(64.43, 67.07, 120.01°)
OKLaboklab(68.2% -0.0967 0.1285)
OKLCHoklch(68.2% 0.161 127)
XYZxyz(23.3452, 33.3311, 7.1227)
Luminance0.3333 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAA27 #5327AA
analogous
#AA9427 #7EAA27 #3CAA27
triadic
#7EAA27 #277EAA #AA277E
tetradic
#7EAA27 #27AA94 #5327AA #AA273C
square
#7EAA27 #27AA94 #5327AA #AA273C
split-complementary
#7EAA27 #273CAA #9427AA
monochromatic
#344610 #59781C #7EAA27 #A0D23C #B8DE6E

Accessibility & contrast

On white

2.74
#7EAA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#7EAA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAA27
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAA27#FFFFFF#000000##000000
##7EAA271.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E04
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#83A291
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7eaa27;
/* rgb */ color: rgb(126, 170, 39);
/* oklch */ color: oklch(68.2% 0.161 127.0);
Tailwind
colors: {
  custom: {
    50: '#a7c36c',
    500: '#7eaa27',
    950: '#000000',
  },
}
SCSS
$custom: #7eaa27;
$custom-light: #a7c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaa27",
  "rgb": {
    "r": 126,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 80.153,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.682,
    "c": 0.16083,
    "h": 127
  },
  "luminance": 0.33332
}

Semantic roles & 50–950 ramp

primary
#7EAA27
secondary
#8769C4
accent
#42E679
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EAA27

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

Preview Lab → · Contrast checker → · Palette generator →

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