#7EBD31#7EBD31

#7EBD31 is a light, vivid yellow-green. Relative luminance 0.411; OKLCH L 72.9% C 0.179 H 131.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#7EBD31
RGBrgb(126, 189, 49)
HSLhsl(87, 59%, 47%)
HSVhsv(87, 74%, 74%)
CMYKcmyk(33.3%, 0%, 74.1%, 25.9%)
CIE-LABlab(70.21, -41.48, 60.29)
CIE-LCHlch(70.21, 73.18, 124.53°)
OKLaboklab(72.92% -0.1175 0.1347)
OKLCHoklch(72.92% 0.179 131.1)
XYZxyz(27.3559, 41.0516, 9.3875)
Luminance0.4105 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBD31 #7031BD
analogous
#BDB631 #7EBD31 #38BD31
triadic
#7EBD31 #317EBD #BD317E
tetradic
#7EBD31 #31BDB6 #7031BD #BD3138
square
#7EBD31 #31BDB6 #7031BD #BD3138
split-complementary
#7EBD31 #3138BD #B631BD
monochromatic
#3D5C18 #5E8C24 #7EBD31 #9CD458 #B9E088

Accessibility & contrast

On white

2.28
#7EBD31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#7EBD31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBD31
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBD31#FFFFFF#000000##000000
##7EBD311.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF14
Deuteranopia (green-blind)
#BDAA3F
Tritanopia (blue-blind)
#80B5A2
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #7ebd31;
/* rgb */ color: rgb(126, 189, 49);
/* oklch */ color: oklch(72.9% 0.179 131.1);
Tailwind
colors: {
  custom: {
    50: '#a8d173',
    500: '#7ebd31',
    950: '#000000',
  },
}
SCSS
$custom: #7ebd31;
$custom-light: #a8d173;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebd31",
  "rgb": {
    "r": 126,
    "g": 189,
    "b": 49
  },
  "hsl": {
    "h": 87,
    "s": 58.824,
    "l": 46.667
  },
  "oklch": {
    "l": 0.72924,
    "c": 0.17877,
    "h": 131.1
  },
  "luminance": 0.41053
}

Semantic roles & 50–950 ramp

primary
#7EBD31
secondary
#A180CA
accent
#46E28C
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7EBD31

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

Preview Lab → · Contrast checker → · Palette generator →

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