#7EAF34#7EAF34

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

Color values

HEX#7EAF34
RGBrgb(126, 175, 52)
HSLhsl(84, 54%, 45%)
HSVhsv(84, 70%, 69%)
CMYKcmyk(28%, 0%, 70.3%, 31.4%)
CIE-LABlab(66.01, -35.07, 55.01)
CIE-LCHlch(66.01, 65.24, 122.52°)
OKLaboklab(69.51% -0.0998 0.1241)
OKLCHoklch(69.51% 0.159 128.8)
XYZxyz(24.5539, 35.3429, 8.7764)
Luminance0.3534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF34 #6534AF
analogous
#AFA234 #7EAF34 #41AF34
triadic
#7EAF34 #347EAF #AF347E
tetradic
#7EAF34 #34AFA2 #6534AF #AF3441
square
#7EAF34 #34AFA2 #6534AF #AF3441
split-complementary
#7EAF34 #3441AF #A234AF
monochromatic
#3A5118 #5C8026 #7EAF34 #9CCC54 #B8DA83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EAF34#FFFFFF#000000##000000
##7EAF341.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)
#B7A320
Deuteranopia (green-blind)
#B19F3F
Tritanopia (blue-blind)
#82A797
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eaf34;
/* rgb */ color: rgb(126, 175, 52);
/* oklch */ color: oklch(69.5% 0.159 128.8);
Tailwind
colors: {
  custom: {
    50: '#a7c773',
    500: '#7eaf34',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf34;
$custom-light: #a7c773;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf34",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 83.902,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69514,
    "c": 0.15927,
    "h": 128.8
  },
  "luminance": 0.35343
}

Semantic roles & 50–950 ramp

primary
#7EAF34
secondary
#987BC4
accent
#4ADE85
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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