#7EA23A#7EA23A

#7EA23A is a light, vivid yellow-green. Relative luminance 0.306; OKLCH L 66.4% C 0.138 H 126.2°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7EA23A
RGBrgb(126, 162, 58)
HSLhsl(81, 47%, 43%)
HSVhsv(81, 64%, 64%)
CMYKcmyk(22.2%, 0%, 64.2%, 36.5%)
CIE-LABlab(62.15, -28.54, 48.50)
CIE-LCHlch(62.15, 56.27, 120.47°)
OKLaboklab(66.4% -0.0814 0.1112)
OKLCHoklch(66.4% 0.138 126.2)
XYZxyz(22.2883, 30.5815, 8.7307)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA23A #5E3AA2
analogous
#A2923A #7EA23A #4AA23A
triadic
#7EA23A #3A7EA2 #A23A7E
tetradic
#7EA23A #3AA292 #5E3AA2 #A23A4A
square
#7EA23A #3AA292 #5E3AA2 #A23A4A
split-complementary
#7EA23A #3A4AA2 #923AA2
monochromatic
#38481A #5B752A #7EA23A #9DC357 #B7D384

Accessibility & contrast

On white

2.95
#7EA23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#7EA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA23A
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA23A#FFFFFF#000000##000000
##7EA23A1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982D
Deuteranopia (green-blind)
#A59642
Tritanopia (blue-blind)
#839B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea23a;
/* rgb */ color: rgb(126, 162, 58);
/* oklch */ color: oklch(66.4% 0.138 126.2);
Tailwind
colors: {
  custom: {
    50: '#a6bd75',
    500: '#7ea23a',
    950: '#000000',
  },
}
SCSS
$custom: #7ea23a;
$custom-light: #a6bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea23a",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 80.769,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66398,
    "c": 0.13781,
    "h": 126.2
  },
  "luminance": 0.30582
}

Semantic roles & 50–950 ramp

primary
#7EA23A
secondary
#927BBD
accent
#51D77F
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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