#7EB431#7EB431

#7EB431 is a light, vivid yellow-green. Relative luminance 0.373; OKLCH L 70.7% C 0.168 H 129.6°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#7EB431
RGBrgb(126, 180, 49)
HSLhsl(85, 57%, 45%)
HSVhsv(85, 73%, 71%)
CMYKcmyk(30%, 0%, 72.8%, 29.4%)
CIE-LABlab(67.50, -37.52, 57.62)
CIE-LCHlch(67.50, 68.76, 123.07°)
OKLaboklab(70.72% -0.1068 0.1291)
OKLCHoklch(70.72% 0.168 129.6)
XYZxyz(25.4797, 37.2991, 8.7621)
Luminance0.3730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EB431 #6731B4
analogous
#B4A931 #7EB431 #3CB431
triadic
#7EB431 #317EB4 #B4317E
tetradic
#7EB431 #31B4A9 #6731B4 #B4313C
square
#7EB431 #31B4A9 #6731B4 #B4313C
split-complementary
#7EB431 #313CB4 #A931B4
monochromatic
#3B5417 #5C8424 #7EB431 #9CD052 #B8DD82

Accessibility & contrast

On white

2.48
#7EB431 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#7EB431 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EB431
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EB431#FFFFFF#000000##000000
##7EB4311.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA719
Deuteranopia (green-blind)
#B5A33D
Tritanopia (blue-blind)
#82AC9B
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #7eb431;
/* rgb */ color: rgb(126, 180, 49);
/* oklch */ color: oklch(70.7% 0.168 129.6);
Tailwind
colors: {
  custom: {
    50: '#a8ca72',
    500: '#7eb431',
    950: '#000000',
  },
}
SCSS
$custom: #7eb431;
$custom-light: #a8ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#7eb431",
  "rgb": {
    "r": 126,
    "g": 180,
    "b": 49
  },
  "hsl": {
    "h": 84.733,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.70716,
    "c": 0.16754,
    "h": 129.6
  },
  "luminance": 0.373
}

Semantic roles & 50–950 ramp

primary
#7EB431
secondary
#9A7BC6
accent
#47E086
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EB431

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

Preview Lab → · Contrast checker → · Palette generator →

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