#7EA531#7EA531

#7EA531 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 67.0% C 0.148 H 126.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7EA531
RGBrgb(126, 165, 49)
HSLhsl(80, 54%, 42%)
HSVhsv(80, 70%, 65%)
CMYKcmyk(23.6%, 0%, 70.3%, 35.3%)
CIE-LABlab(62.98, -30.62, 53.09)
CIE-LCHlch(62.98, 61.29, 119.98°)
OKLaboklab(67.05% -0.0879 0.1196)
OKLCHoklch(67.05% 0.148 126.3)
XYZxyz(22.6138, 31.5673, 7.8068)
Luminance0.3157 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA531 #5831A5
analogous
#A59231 #7EA531 #44A531
triadic
#7EA531 #317EA5 #A5317E
tetradic
#7EA531 #31A592 #5831A5 #A53144
square
#7EA531 #31A592 #5831A5 #A53144
split-complementary
#7EA531 #3144A5 #9231A5
monochromatic
#364715 #5A7623 #7EA531 #9EC94A #B8D779

Accessibility & contrast

On white

2.87
#7EA531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#7EA531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA531
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA531#FFFFFF#000000##000000
##7EA5311.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1F
Deuteranopia (green-blind)
#A8983B
Tritanopia (blue-blind)
#839D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea531;
/* rgb */ color: rgb(126, 165, 49);
/* oklch */ color: oklch(67.0% 0.148 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7c070',
    500: '#7ea531',
    950: '#000000',
  },
}
SCSS
$custom: #7ea531;
$custom-light: #a7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea531",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 49
  },
  "hsl": {
    "h": 80.172,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67048,
    "c": 0.14845,
    "h": 126.3
  },
  "luminance": 0.31568
}

Semantic roles & 50–950 ramp

primary
#7EA531
secondary
#8C72C0
accent
#4ADE7C
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA531

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

Preview Lab → · Contrast checker → · Palette generator →

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