#7EA231#7EA231

#7EA231 is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.3% C 0.145 H 125.5°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).

Color values

HEX#7EA231
RGBrgb(126, 162, 49)
HSLhsl(79, 54%, 41%)
HSVhsv(79, 70%, 64%)
CMYKcmyk(22.2%, 0%, 69.8%, 36.5%)
CIE-LABlab(62.08, -29.20, 52.17)
CIE-LCHlch(62.08, 59.79, 119.23°)
OKLaboklab(66.32% -0.084 0.1177)
OKLCHoklch(66.32% 0.145 125.5)
XYZxyz(22.0790, 30.4977, 7.6286)
Luminance0.3050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA231 #5531A2
analogous
#A28E31 #7EA231 #46A231
triadic
#7EA231 #317EA2 #A2317E
tetradic
#7EA231 #31A28E #5531A2 #A23146
square
#7EA231 #31A28E #5531A2 #A23146
split-complementary
#7EA231 #3146A2 #8E31A2
monochromatic
#354415 #597323 #7EA231 #9FC848 #B8D677

Accessibility & contrast

On white

2.96
#7EA231 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#7EA231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA231
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA231#FFFFFF#000000##000000
##7EA2311.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9720
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#839A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea231;
/* rgb */ color: rgb(126, 162, 49);
/* oklch */ color: oklch(66.3% 0.145 125.5);
Tailwind
colors: {
  custom: {
    50: '#a7bd70',
    500: '#7ea231',
    950: '#000000',
  },
}
SCSS
$custom: #7ea231;
$custom-light: #a7bd70;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea231",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 79.115,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.66317,
    "c": 0.14458,
    "h": 125.5
  },
  "luminance": 0.30498
}

Semantic roles & 50–950 ramp

primary
#7EA231
secondary
#8971BE
accent
#4BDD79
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA231

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

Preview Lab → · Contrast checker → · Palette generator →

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