#7EA526#7EA526

#7EA526 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 67.0% C 0.155 H 125.7°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#7EA526
RGBrgb(126, 165, 38)
HSLhsl(78, 63%, 40%)
HSVhsv(78, 77%, 65%)
CMYKcmyk(23.6%, 0%, 77%, 35.3%)
CIE-LABlab(62.92, -31.27, 56.98)
CIE-LCHlch(62.92, 65.00, 118.75°)
OKLaboklab(66.97% -0.0906 0.126)
OKLCHoklch(66.97% 0.155 125.7)
XYZxyz(22.4093, 31.4855, 6.7300)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA526 #4D26A5
analogous
#A58D26 #7EA526 #3FA526
triadic
#7EA526 #267EA5 #A5267E
tetradic
#7EA526 #26A58D #4D26A5 #A5263F
square
#7EA526 #26A58D #4D26A5 #A5263F
split-complementary
#7EA526 #263FA5 #8D26A5
monochromatic
#32420F #58731B #7EA526 #A2D137 #B9DC69

Accessibility & contrast

On white

2.88
#7EA526 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#7EA526 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA526
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA526#FFFFFF#000000##000000
##7EA5261.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A05
Deuteranopia (green-blind)
#A99832
Tritanopia (blue-blind)
#849D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7ea526;
/* rgb */ color: rgb(126, 165, 38);
/* oklch */ color: oklch(67.0% 0.155 125.7);
Tailwind
colors: {
  custom: {
    50: '#a7c06b',
    500: '#7ea526',
    950: '#000000',
  },
}
SCSS
$custom: #7ea526;
$custom-light: #a7c06b;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea526",
  "rgb": {
    "r": 126,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 78.425,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66971,
    "c": 0.15521,
    "h": 125.7
  },
  "luminance": 0.31486
}

Semantic roles & 50–950 ramp

primary
#7EA526
secondary
#8164C3
accent
#42E674
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA526

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

Preview Lab → · Contrast checker → · Palette generator →

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