#7EAF32#7EAF32

#7EAF32 is a light, vivid yellow-green. Relative luminance 0.353; OKLCH L 69.5% C 0.161 H 128.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#7EAF32
RGBrgb(126, 175, 50)
HSLhsl(84, 56%, 44%)
HSVhsv(84, 71%, 69%)
CMYKcmyk(28%, 0%, 71.4%, 31.4%)
CIE-LABlab(66.00, -35.20, 55.76)
CIE-LCHlch(66.00, 65.94, 122.27°)
OKLaboklab(69.5% -0.1004 0.1254)
OKLCHoklch(69.5% 0.161 128.7)
XYZxyz(24.5098, 35.3252, 8.5441)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF32 #6332AF
analogous
#AFA232 #7EAF32 #40AF32
triadic
#7EAF32 #327EAF #AF327E
tetradic
#7EAF32 #32AFA2 #6332AF #AF3240
square
#7EAF32 #32AFA2 #6332AF #AF3240
split-complementary
#7EAF32 #3240AF #A232AF
monochromatic
#395017 #5C7F24 #7EAF32 #9DCD51 #B7DB81

Accessibility & contrast

On white

2.60
#7EAF32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#7EAF32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF32
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF32#FFFFFF#000000##000000
##7EAF321.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A31D
Deuteranopia (green-blind)
#B19F3D
Tritanopia (blue-blind)
#82A796
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eaf32;
/* rgb */ color: rgb(126, 175, 50);
/* oklch */ color: oklch(69.5% 0.161 128.7);
Tailwind
colors: {
  custom: {
    50: '#a7c772',
    500: '#7eaf32',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf32;
$custom-light: #a7c772;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf32",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 50
  },
  "hsl": {
    "h": 83.52,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69498,
    "c": 0.16058,
    "h": 128.7
  },
  "luminance": 0.35326
}

Semantic roles & 50–950 ramp

primary
#7EAF32
secondary
#9679C4
accent
#49DF84
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF32

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

Preview Lab → · Contrast checker → · Palette generator →

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