#7EAF3F#7EAF3F

#7EAF3F is a light, vivid yellow-green. Relative luminance 0.355; OKLCH L 69.6% C 0.151 H 129.7°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#7EAF3F
RGBrgb(126, 175, 63)
HSLhsl(86, 47%, 47%)
HSVhsv(86, 64%, 69%)
CMYKcmyk(28%, 0%, 64%, 31.4%)
CIE-LABlab(66.10, -34.24, 50.61)
CIE-LCHlch(66.10, 61.11, 124.08°)
OKLaboklab(69.61% -0.0966 0.1163)
OKLCHoklch(69.61% 0.151 129.7)
XYZxyz(24.8312, 35.4538, 10.2367)
Luminance0.3545 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAF3F #703FAF
analogous
#AFA83F #7EAF3F #46AF3F
triadic
#7EAF3F #3F7EAF #AF3F7E
tetradic
#7EAF3F #3FAFA8 #703FAF #AF3F46
square
#7EAF3F #3FAFA8 #703FAF #AF3F46
split-complementary
#7EAF3F #3F46AF #A83FAF
monochromatic
#3D551F #5E822F #7EAF3F #9CC764 #B9D791

Accessibility & contrast

On white

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

On black

8.09
#7EAF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAF3F
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAF3F#FFFFFF#000000##000000
##7EAF3F1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A331
Deuteranopia (green-blind)
#B09F48
Tritanopia (blue-blind)
#81A898
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #7eaf3f;
/* rgb */ color: rgb(126, 175, 63);
/* oklch */ color: oklch(69.6% 0.151 129.7);
Tailwind
colors: {
  custom: {
    50: '#a7c779',
    500: '#7eaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #7eaf3f;
$custom-light: #a7c779;
$custom-dark: #000000;
JSON
{
  "hex": "#7eaf3f",
  "rgb": {
    "r": 126,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 86.25,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.69611,
    "c": 0.15124,
    "h": 129.7
  },
  "luminance": 0.35454
}

Semantic roles & 50–950 ramp

primary
#7EAF3F
secondary
#A187C3
accent
#51D78C
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#101309
muted
#7F827B

Preview Lab

Preview with #7EAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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