#7EAE31#7EAE31

#7EAE31 is a light, vivid yellow-green. Relative luminance 0.349; OKLCH L 69.2% C 0.160 H 128.4°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#7EAE31
RGBrgb(126, 174, 49)
HSLhsl(83, 56%, 44%)
HSVhsv(83, 72%, 68%)
CMYKcmyk(27.6%, 0%, 71.8%, 31.8%)
CIE-LABlab(65.69, -34.81, 55.82)
CIE-LCHlch(65.69, 65.78, 121.95°)
OKLaboklab(69.25% -0.0994 0.1253)
OKLCHoklch(69.25% 0.16 128.4)
XYZxyz(24.2946, 34.9289, 8.3671)
Luminance0.3493 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EAE31 #6131AE
analogous
#AE9F31 #7EAE31 #3FAE31
triadic
#7EAE31 #317EAE #AE317E
tetradic
#7EAE31 #31AE9F #6131AE #AE313F
square
#7EAE31 #31AE9F #6131AE #AE313F
split-complementary
#7EAE31 #313FAE #9F31AE
monochromatic
#394E16 #5B7E24 #7EAE31 #9DCD4F #B7DB7F

Accessibility & contrast

On white

2.63
#7EAE31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#7EAE31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EAE31
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EAE31#FFFFFF#000000##000000
##7EAE311.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A21B
Deuteranopia (green-blind)
#B09F3C
Tritanopia (blue-blind)
#82A696
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #7eae31;
/* rgb */ color: rgb(126, 174, 49);
/* oklch */ color: oklch(69.2% 0.160 128.4);
Tailwind
colors: {
  custom: {
    50: '#a7c671',
    500: '#7eae31',
    950: '#000000',
  },
}
SCSS
$custom: #7eae31;
$custom-light: #a7c671;
$custom-dark: #000000;
JSON
{
  "hex": "#7eae31",
  "rgb": {
    "r": 126,
    "g": 174,
    "b": 49
  },
  "hsl": {
    "h": 83.04,
    "s": 56.054,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69246,
    "c": 0.15995,
    "h": 128.4
  },
  "luminance": 0.34929
}

Semantic roles & 50–950 ramp

primary
#7EAE31
secondary
#9577C4
accent
#48DF82
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B

Preview Lab

Preview with #7EAE31

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

Preview Lab → · Contrast checker → · Palette generator →

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