#7EA81F#7EA81F

#7EA81F is a light, vivid yellow-green. Relative luminance 0.325; OKLCH L 67.7% C 0.162 H 126.2°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#7EA81F
RGBrgb(126, 168, 31)
HSLhsl(78, 69%, 39%)
HSVhsv(78, 82%, 66%)
CMYKcmyk(25%, 0%, 81.5%, 34.1%)
CIE-LABlab(63.79, -32.99, 59.91)
CIE-LCHlch(63.79, 68.39, 118.84°)
OKLaboklab(67.67% -0.0958 0.1311)
OKLCHoklch(67.67% 0.162 126.2)
XYZxyz(22.8543, 32.5394, 6.3727)
Luminance0.3254 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA81F #491FA8
analogous
#A88E1F #7EA81F #3AA81F
triadic
#7EA81F #1F7EA8 #A81F7E
tetradic
#7EA81F #1FA88E #491FA8 #A81F3A
square
#7EA81F #1FA88E #491FA8 #A81F3A
split-complementary
#7EA81F #1F3AA8 #8E1FA8
monochromatic
#31410C #577415 #7EA81F #A3D82C #BAE260

Accessibility & contrast

On white

2.80
#7EA81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#7EA81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA81F
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA81F#FFFFFF#000000##000000
##7EA81F1.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#AC9A2E
Tritanopia (blue-blind)
#84A08F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #7ea81f;
/* rgb */ color: rgb(126, 168, 31);
/* oklch */ color: oklch(67.7% 0.162 126.2);
Tailwind
colors: {
  custom: {
    50: '#a8c268',
    500: '#7ea81f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea81f;
$custom-light: #a8c268;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea81f",
  "rgb": {
    "r": 126,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 78.394,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.67666,
    "c": 0.16233,
    "h": 126.2
  },
  "luminance": 0.3254
}

Semantic roles & 50–950 ramp

primary
#7EA81F
secondary
#7D5DC6
accent
#3CEC72
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA81F

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

Preview Lab → · Contrast checker → · Palette generator →

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