#7EA530#7EA530

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

Color values

HEX#7EA530
RGBrgb(126, 165, 48)
HSLhsl(80, 55%, 42%)
HSVhsv(80, 71%, 65%)
CMYKcmyk(23.6%, 0%, 70.9%, 35.3%)
CIE-LABlab(62.98, -30.69, 53.47)
CIE-LCHlch(62.98, 61.65, 119.85°)
OKLaboklab(67.04% -0.0882 0.1203)
OKLCHoklch(67.04% 0.149 126.3)
XYZxyz(22.5929, 31.5589, 7.6969)
Luminance0.3156 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA530 #5730A5
analogous
#A59230 #7EA530 #44A530
triadic
#7EA530 #307EA5 #A5307E
tetradic
#7EA530 #30A592 #5730A5 #A53044
square
#7EA530 #30A592 #5730A5 #A53044
split-complementary
#7EA530 #3044A5 #9230A5
monochromatic
#364614 #5A7622 #7EA530 #9FCA48 #B8D878

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA530#FFFFFF#000000##000000
##7EA5301.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)
#AE9A1D
Deuteranopia (green-blind)
#A8983A
Tritanopia (blue-blind)
#839D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea530;
/* rgb */ color: rgb(126, 165, 48);
/* oklch */ color: oklch(67.0% 0.149 126.3);
Tailwind
colors: {
  custom: {
    50: '#a7c070',
    500: '#7ea530',
    950: '#000000',
  },
}
SCSS
$custom: #7ea530;
$custom-light: #a7c070;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea530",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 48
  },
  "hsl": {
    "h": 80,
    "s": 54.93,
    "l": 41.765
  },
  "oklch": {
    "l": 0.6704,
    "c": 0.14912,
    "h": 126.3
  },
  "luminance": 0.31559
}

Semantic roles & 50–950 ramp

primary
#7EA530
secondary
#8B71C0
accent
#4ADE7B
background
#FAFBF7
surface
#F4F7ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA530

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

Preview Lab → · Contrast checker → · Palette generator →

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