#7EA23B#7EA23B

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

Color values

HEX#7EA23B
RGBrgb(126, 162, 59)
HSLhsl(81, 47%, 43%)
HSVhsv(81, 64%, 64%)
CMYKcmyk(22.2%, 0%, 63.6%, 36.5%)
CIE-LABlab(62.16, -28.45, 48.07)
CIE-LCHlch(62.16, 55.86, 120.62°)
OKLaboklab(66.41% -0.081 0.1105)
OKLCHoklch(66.41% 0.137 126.3)
XYZxyz(22.3140, 30.5917, 8.8660)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA23B #5F3BA2
analogous
#A2923B #7EA23B #4AA23B
triadic
#7EA23B #3B7EA2 #A23B7E
tetradic
#7EA23B #3BA292 #5F3BA2 #A23B4A
square
#7EA23B #3BA292 #5F3BA2 #A23B4A
split-complementary
#7EA23B #3B4AA2 #923BA2
monochromatic
#38481A #5B752B #7EA23B #9DC258 #B7D385

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA23B#FFFFFF#000000##000000
##7EA23B1.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)
#AA982E
Deuteranopia (green-blind)
#A59643
Tritanopia (blue-blind)
#839B8C
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea23b;
/* rgb */ color: rgb(126, 162, 59);
/* oklch */ color: oklch(66.4% 0.137 126.3);
Tailwind
colors: {
  custom: {
    50: '#a6bd76',
    500: '#7ea23b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea23b;
$custom-light: #a6bd76;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea23b",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 59
  },
  "hsl": {
    "h": 80.971,
    "s": 46.606,
    "l": 43.333
  },
  "oklch": {
    "l": 0.66408,
    "c": 0.137,
    "h": 126.3
  },
  "luminance": 0.30592
}

Semantic roles & 50–950 ramp

primary
#7EA23B
secondary
#937CBD
accent
#52D680
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101209
muted
#7F817B

Preview Lab

Preview with #7EA23B

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

Preview Lab → · Contrast checker → · Palette generator →

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