#7EA23C#7EA23C

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

Color values

HEX#7EA23C
RGBrgb(126, 162, 60)
HSLhsl(81, 46%, 44%)
HSVhsv(81, 63%, 64%)
CMYKcmyk(22.2%, 0%, 63%, 36.5%)
CIE-LABlab(62.17, -28.37, 47.64)
CIE-LCHlch(62.17, 55.45, 120.77°)
OKLaboklab(66.42% -0.0807 0.1097)
OKLCHoklch(66.42% 0.136 126.4)
XYZxyz(22.3402, 30.6022, 9.0039)
Luminance0.3060 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA23C #603CA2
analogous
#A2933C #7EA23C #4BA23C
triadic
#7EA23C #3C7EA2 #A23C7E
tetradic
#7EA23C #3CA293 #603CA2 #A23C4B
square
#7EA23C #3CA293 #603CA2 #A23C4B
split-complementary
#7EA23C #3C4BA2 #933CA2
monochromatic
#39491B #5B752B #7EA23C #9DC259 #B7D286

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA23C#FFFFFF#000000##000000
##7EA23C1.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)
#AA9830
Deuteranopia (green-blind)
#A59643
Tritanopia (blue-blind)
#839B8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea23c;
/* rgb */ color: rgb(126, 162, 60);
/* oklch */ color: oklch(66.4% 0.136 126.4);
Tailwind
colors: {
  custom: {
    50: '#a6bd76',
    500: '#7ea23c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea23c;
$custom-light: #a6bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea23c",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 81.176,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66418,
    "c": 0.13617,
    "h": 126.4
  },
  "luminance": 0.30603
}

Semantic roles & 50–950 ramp

primary
#7EA23C
secondary
#947DBC
accent
#52D681
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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