#7EBE31#7EBE31

#7EBE31 is a light, vivid yellow-green. Relative luminance 0.415; OKLCH L 73.2% C 0.180 H 131.3°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#7EBE31
RGBrgb(126, 190, 49)
HSLhsl(87, 59%, 47%)
HSVhsv(87, 74%, 75%)
CMYKcmyk(33.7%, 0%, 74.2%, 25.5%)
CIE-LABlab(70.51, -41.91, 60.58)
CIE-LCHlch(70.51, 73.67, 124.68°)
OKLaboklab(73.17% -0.1187 0.1353)
OKLCHoklch(73.17% 0.18 131.3)
XYZxyz(27.5718, 41.4833, 9.4595)
Luminance0.4148 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EBE31 #7131BE
analogous
#BEB831 #7EBE31 #38BE31
triadic
#7EBE31 #317EBE #BE317E
tetradic
#7EBE31 #31BEB8 #7131BE #BE3138
square
#7EBE31 #31BEB8 #7131BE #BE3138
split-complementary
#7EBE31 #3138BE #B831BE
monochromatic
#3D5D18 #5E8D24 #7EBE31 #9CD458 #B9E189

Accessibility & contrast

On white

2.26
#7EBE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#7EBE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EBE31
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EBE31#FFFFFF#000000##000000
##7EBE311.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B013
Deuteranopia (green-blind)
#BEAB3F
Tritanopia (blue-blind)
#80B6A3
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #7ebe31;
/* rgb */ color: rgb(126, 190, 49);
/* oklch */ color: oklch(73.2% 0.180 131.3);
Tailwind
colors: {
  custom: {
    50: '#a8d273',
    500: '#7ebe31',
    950: '#000000',
  },
}
SCSS
$custom: #7ebe31;
$custom-light: #a8d273;
$custom-dark: #000000;
JSON
{
  "hex": "#7ebe31",
  "rgb": {
    "r": 126,
    "g": 190,
    "b": 49
  },
  "hsl": {
    "h": 87.234,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.73169,
    "c": 0.18,
    "h": 131.3
  },
  "luminance": 0.41484
}

Semantic roles & 50–950 ramp

primary
#7EBE31
secondary
#A280CA
accent
#46E28D
background
#FAFCF7
surface
#F4F9ED
border
#CED2C8
text
#101409
muted
#7F827B

Preview Lab

Preview with #7EBE31

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

Preview Lab → · Contrast checker → · Palette generator →

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