#7EA331#7EA331

#7EA331 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.6% C 0.146 H 125.8°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#7EA331
RGBrgb(126, 163, 49)
HSLhsl(79, 54%, 42%)
HSVhsv(79, 70%, 64%)
CMYKcmyk(22.7%, 0%, 69.9%, 36.1%)
CIE-LABlab(62.38, -29.67, 52.48)
CIE-LCHlch(62.38, 60.29, 119.48°)
OKLaboklab(66.56% -0.0853 0.1183)
OKLCHoklch(66.56% 0.146 125.8)
XYZxyz(22.2559, 30.8515, 7.6875)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA331 #5631A3
analogous
#A38F31 #7EA331 #45A331
triadic
#7EA331 #317EA3 #A3317E
tetradic
#7EA331 #31A38F #5631A3 #A33145
square
#7EA331 #31A38F #5631A3 #A33145
split-complementary
#7EA331 #3145A3 #8F31A3
monochromatic
#354515 #5A7423 #7EA331 #9FC849 #B8D678

Accessibility & contrast

On white

2.93
#7EA331 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#7EA331 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA331
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA331#FFFFFF#000000##000000
##7EA3311.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC981F
Deuteranopia (green-blind)
#A7963A
Tritanopia (blue-blind)
#839B8C
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #7ea331;
/* rgb */ color: rgb(126, 163, 49);
/* oklch */ color: oklch(66.6% 0.146 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7be70',
    500: '#7ea331',
    950: '#000000',
  },
}
SCSS
$custom: #7ea331;
$custom-light: #a7be70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea331",
  "rgb": {
    "r": 126,
    "g": 163,
    "b": 49
  },
  "hsl": {
    "h": 79.474,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.66561,
    "c": 0.14588,
    "h": 125.8
  },
  "luminance": 0.30852
}

Semantic roles & 50–950 ramp

primary
#7EA331
secondary
#8A71BF
accent
#4BDD7A
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA331

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

Preview Lab → · Contrast checker → · Palette generator →

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