#7EAF35#7EAF35

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

Color values

HEX#7EAF35
RGBrgb(126, 175, 53)
HSLhsl(84, 54%, 45%)
HSVhsv(84, 70%, 69%)
CMYKcmyk(28%, 0%, 69.7%, 31.4%)
CIE-LABlab(66.02, -35.00, 54.63)
CIE-LCHlch(66.02, 64.88, 122.65°)
OKLaboklab(69.52% -0.0996 0.1234)
OKLCHoklch(69.52% 0.159 128.9)
XYZxyz(24.5767, 35.3520, 8.8962)
Luminance0.3535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF35 #6635AF
analogous
#AFA335 #7EAF35 #41AF35
triadic
#7EAF35 #357EAF #AF357E
tetradic
#7EAF35 #35AFA3 #6635AF #AF3541
square
#7EAF35 #35AFA3 #6635AF #AF3541
split-complementary
#7EAF35 #3541AF #A335AF
monochromatic
#3A5119 #5C8027 #7EAF35 #9CCC56 #B8DA85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7eaf35;
/* rgb */ color: rgb(126, 175, 53);
/* oklch */ color: oklch(69.5% 0.159 128.9);
Tailwind
colors: {
  custom: {
    50: '#a7c773',
    500: '#7eaf35',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf35;
$custom-light: #a7c773;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf35",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 84.098,
    "s": 53.509,
    "l": 44.706
  },
  "oklch": {
    "l": 0.69522,
    "c": 0.1586,
    "h": 128.9
  },
  "luminance": 0.35353
}

Semantic roles & 50–950 ramp

primary
#7EAF35
secondary
#997CC4
accent
#4BDD86
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAF35

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

Preview Lab → · Contrast checker → · Palette generator →

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