#7EBF31#7EBF31

#7EBF31 is a light, vivid yellow-green. Relative luminance 0.419; OKLCH L 73.4% C 0.181 H 131.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#7EBF31
RGBrgb(126, 191, 49)
HSLhsl(87, 59%, 47%)
HSVhsv(87, 74%, 75%)
CMYKcmyk(34%, 0%, 74.3%, 25.1%)
CIE-LABlab(70.81, -42.34, 60.88)
CIE-LCHlch(70.81, 74.15, 124.82°)
OKLaboklab(73.41% -0.1199 0.1359)
OKLCHoklch(73.41% 0.181 131.4)
XYZxyz(27.7891, 41.9179, 9.5319)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBF31 #7231BF
analogous
#BFB931 #7EBF31 #37BF31
triadic
#7EBF31 #317EBF #BF317E
tetradic
#7EBF31 #31BFB9 #7231BF #BF3137
square
#7EBF31 #31BFB9 #7231BF #BF3137
split-complementary
#7EBF31 #3137BF #B931BF
monochromatic
#3E5E18 #5E8E25 #7EBF31 #9CD459 #B9E18A

Accessibility & contrast

On white

2.24
#7EBF31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#7EBF31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBF31
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBF31#FFFFFF#000000##000000
##7EBF311.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B013
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#80B7A4
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #7ebf31;
/* rgb */ color: rgb(126, 191, 49);
/* oklch */ color: oklch(73.4% 0.181 131.4);
Tailwind
colors: {
  custom: {
    50: '#a8d273',
    500: '#7ebf31',
    950: '#000000',
  },
}
SCSS
$custom: #7ebf31;
$custom-light: #a8d273;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebf31",
  "rgb": {
    "r": 126,
    "g": 191,
    "b": 49
  },
  "hsl": {
    "h": 87.465,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.73415,
    "c": 0.18123,
    "h": 131.4
  },
  "luminance": 0.41919
}

Semantic roles & 50–950 ramp

primary
#7EBF31
secondary
#A381CB
accent
#45E28D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7EBF31

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

Preview Lab → · Contrast checker → · Palette generator →

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