#7EB531#7EB531

#7EB531 is a light, vivid yellow-green. Relative luminance 0.377; OKLCH L 71.0% C 0.169 H 129.8°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#7EB531
RGBrgb(126, 181, 49)
HSLhsl(85, 57%, 45%)
HSVhsv(85, 73%, 71%)
CMYKcmyk(30.4%, 0%, 72.9%, 29%)
CIE-LABlab(67.80, -37.97, 57.92)
CIE-LCHlch(67.80, 69.25, 123.25°)
OKLaboklab(70.96% -0.108 0.1297)
OKLCHoklch(70.96% 0.169 129.8)
XYZxyz(25.6823, 37.7044, 8.8297)
Luminance0.3770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB531 #6831B5
analogous
#B5AA31 #7EB531 #3CB531
triadic
#7EB531 #317EB5 #B5317E
tetradic
#7EB531 #31B5AA #6831B5 #B5313C
square
#7EB531 #31B5AA #6831B5 #B5313C
split-complementary
#7EB531 #313CB5 #AA31B5
monochromatic
#3B5517 #5C8524 #7EB531 #9CD053 #B8DD83

Accessibility & contrast

On white

2.46
#7EB531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#7EB531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB531
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB531#FFFFFF#000000##000000
##7EB5311.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA818
Deuteranopia (green-blind)
#B6A43D
Tritanopia (blue-blind)
#81AD9B
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #7eb531;
/* rgb */ color: rgb(126, 181, 49);
/* oklch */ color: oklch(71.0% 0.169 129.8);
Tailwind
colors: {
  custom: {
    50: '#a8cb72',
    500: '#7eb531',
    950: '#000000',
  },
}
SCSS
$custom: #7eb531;
$custom-light: #a8cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb531",
  "rgb": {
    "r": 126,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 85,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.70961,
    "c": 0.1688,
    "h": 129.8
  },
  "luminance": 0.37705
}

Semantic roles & 50–950 ramp

primary
#7EB531
secondary
#9B7BC7
accent
#47E187
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB531

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

Preview Lab → · Contrast checker → · Palette generator →

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