#7EAF27#7EAF27

#7EAF27 is a light, vivid yellow-green. Relative luminance 0.352; OKLCH L 69.4% C 0.167 H 128.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#7EAF27
RGBrgb(126, 175, 39)
HSLhsl(82, 64%, 42%)
HSVhsv(82, 78%, 69%)
CMYKcmyk(28%, 0%, 77.7%, 31.4%)
CIE-LABlab(65.94, -35.83, 59.50)
CIE-LCHlch(65.94, 69.46, 121.06°)
OKLaboklab(69.43% -0.1029 0.1315)
OKLCHoklch(69.43% 0.167 128.1)
XYZxyz(24.3004, 35.2415, 7.4411)
Luminance0.3524 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF27 #5827AF
analogous
#AF9C27 #7EAF27 #3AAF27
triadic
#7EAF27 #277EAF #AF277E
tetradic
#7EAF27 #27AF9C #5827AF #AF273A
square
#7EAF27 #27AF9C #5827AF #AF273A
split-complementary
#7EAF27 #273AAF #9C27AF
monochromatic
#364B11 #5A7D1C #7EAF27 #9ED43F #B8DF71

Accessibility & contrast

On white

2.61
#7EAF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#7EAF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF27
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF27#FFFFFF#000000##000000
##7EAF271.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#B19F35
Tritanopia (blue-blind)
#83A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eaf27;
/* rgb */ color: rgb(126, 175, 39);
/* oklch */ color: oklch(69.4% 0.167 128.1);
Tailwind
colors: {
  custom: {
    50: '#a8c76c',
    500: '#7eaf27',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf27;
$custom-light: #a8c76c;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf27",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 81.618,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.69425,
    "c": 0.16698,
    "h": 128.1
  },
  "luminance": 0.35242
}

Semantic roles & 50–950 ramp

primary
#7EAF27
secondary
#8C6BC6
accent
#41E77D
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF27

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

Preview Lab → · Contrast checker → · Palette generator →

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