#7EA82F#7EA82F

#7EA82F is a light, vivid yellow-green. Relative luminance 0.326; OKLCH L 67.8% C 0.154 H 126.9°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#7EA82F
RGBrgb(126, 168, 47)
HSLhsl(81, 56%, 42%)
HSVhsv(81, 72%, 66%)
CMYKcmyk(25%, 0%, 72%, 34.1%)
CIE-LABlab(63.87, -32.16, 54.75)
CIE-LCHlch(63.87, 63.50, 120.43°)
OKLaboklab(67.76% -0.0923 0.1228)
OKLCHoklch(67.76% 0.154 126.9)
XYZxyz(23.1200, 32.6457, 7.7719)
Luminance0.3265 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA82F #592FA8
analogous
#A8952F #7EA82F #42A82F
triadic
#7EA82F #2F7EA8 #A82F7E
tetradic
#7EA82F #2FA895 #592FA8 #A82F42
square
#7EA82F #2FA895 #592FA8 #A82F42
split-complementary
#7EA82F #2F42A8 #952FA8
monochromatic
#364814 #5A7822 #7EA82F #9ECC48 #B8D978

Accessibility & contrast

On white

2.79
#7EA82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#7EA82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA82F
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA82F#FFFFFF#000000##000000
##7EA82F1.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C1A
Deuteranopia (green-blind)
#AB9A3A
Tritanopia (blue-blind)
#83A090
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #7ea82f;
/* rgb */ color: rgb(126, 168, 47);
/* oklch */ color: oklch(67.8% 0.154 126.9);
Tailwind
colors: {
  custom: {
    50: '#a7c26f',
    500: '#7ea82f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea82f;
$custom-light: #a7c26f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea82f",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 80.826,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67764,
    "c": 0.15361,
    "h": 126.9
  },
  "luminance": 0.32646
}

Semantic roles & 50–950 ramp

primary
#7EA82F
secondary
#8D71C1
accent
#48E07D
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA82F

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

Preview Lab → · Contrast checker → · Palette generator →

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