#7EAF3A#7EAF3A

#7EAF3A is a light, vivid yellow-green. Relative luminance 0.354; OKLCH L 69.6% C 0.155 H 129.3°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#7EAF3A
RGBrgb(126, 175, 58)
HSLhsl(85, 50%, 46%)
HSVhsv(85, 67%, 69%)
CMYKcmyk(28%, 0%, 66.9%, 31.4%)
CIE-LABlab(66.06, -34.64, 52.67)
CIE-LCHlch(66.06, 63.04, 123.33°)
OKLaboklab(69.56% -0.0982 0.12)
OKLCHoklch(69.56% 0.155 129.3)
XYZxyz(24.6978, 35.4004, 9.5339)
Luminance0.3540 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF3A #6B3AAF
analogous
#AFA53A #7EAF3A #43AF3A
triadic
#7EAF3A #3A7EAF #AF3A7E
tetradic
#7EAF3A #3AAFA5 #6B3AAF #AF3A43
square
#7EAF3A #3AAFA5 #6B3AAF #AF3A43
split-complementary
#7EAF3A #3A43AF #A53AAF
monochromatic
#3C531C #5D812B #7EAF3A #9CC95D #B8D98B

Accessibility & contrast

On white

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

On black

8.08
#7EAF3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF3A
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF3A#FFFFFF#000000##000000
##7EAF3A1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A32A
Deuteranopia (green-blind)
#B09F43
Tritanopia (blue-blind)
#82A797
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eaf3a;
/* rgb */ color: rgb(126, 175, 58);
/* oklch */ color: oklch(69.6% 0.155 129.3);
Tailwind
colors: {
  custom: {
    50: '#a7c776',
    500: '#7eaf3a',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf3a;
$custom-light: #a7c776;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf3a",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 85.128,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69564,
    "c": 0.15505,
    "h": 129.3
  },
  "luminance": 0.35401
}

Semantic roles & 50–950 ramp

primary
#7EAF3A
secondary
#9D82C3
accent
#4EDA89
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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