#7EA92F#7EA92F

#7EA92F is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 68.0% C 0.155 H 127.2°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#7EA92F
RGBrgb(126, 169, 47)
HSLhsl(81, 56%, 42%)
HSVhsv(81, 72%, 66%)
CMYKcmyk(25.4%, 0%, 72.2%, 33.7%)
CIE-LABlab(64.17, -32.63, 55.05)
CIE-LCHlch(64.17, 63.99, 120.66°)
OKLaboklab(68.01% -0.0936 0.1234)
OKLCHoklch(68.01% 0.155 127.2)
XYZxyz(23.3053, 33.0163, 7.8337)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA92F #5A2FA9
analogous
#A9972F #7EA92F #41A92F
triadic
#7EA92F #2F7EA9 #A92F7E
tetradic
#7EA92F #2FA997 #5A2FA9 #A92F41
square
#7EA92F #2FA997 #5A2FA9 #A92F41
split-complementary
#7EA92F #2F41A9 #972FA9
monochromatic
#374914 #5A7922 #7EA92F #9ECC49 #B7DA79

Accessibility & contrast

On white

2.76
#7EA92F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.60
#7EA92F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA92F
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA92F#FFFFFF#000000##000000
##7EA92F1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D19
Deuteranopia (green-blind)
#AC9B3A
Tritanopia (blue-blind)
#83A191
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #7ea92f;
/* rgb */ color: rgb(126, 169, 47);
/* oklch */ color: oklch(68.0% 0.155 127.2);
Tailwind
colors: {
  custom: {
    50: '#a7c270',
    500: '#7ea92f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea92f;
$custom-light: #a7c270;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea92f",
  "rgb": {
    "r": 126,
    "g": 169,
    "b": 47
  },
  "hsl": {
    "h": 81.148,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.68009,
    "c": 0.15488,
    "h": 127.2
  },
  "luminance": 0.33017
}

Semantic roles & 50–950 ramp

primary
#7EA92F
secondary
#8E72C2
accent
#48E07E
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA92F

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

Preview Lab → · Contrast checker → · Palette generator →

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