#7EA623#7EA623

#7EA623 is a light, vivid yellow-green. Relative luminance 0.318; OKLCH L 67.2% C 0.158 H 125.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#7EA623
RGBrgb(126, 166, 35)
HSLhsl(78, 65%, 39%)
HSVhsv(78, 79%, 65%)
CMYKcmyk(24.1%, 0%, 78.9%, 34.9%)
CIE-LABlab(63.20, -31.88, 58.21)
CIE-LCHlch(63.20, 66.37, 118.71°)
OKLaboklab(67.2% -0.0925 0.1281)
OKLCHoklch(67.2% 0.158 125.8)
XYZxyz(22.5439, 31.8291, 6.5457)
Luminance0.3183 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA623 #4B23A6
analogous
#A68D23 #7EA623 #3CA623
triadic
#7EA623 #237EA6 #A6237E
tetradic
#7EA623 #23A68D #4B23A6 #A6233C
square
#7EA623 #23A68D #4B23A6 #A6233C
split-complementary
#7EA623 #233CA6 #8D23A6
monochromatic
#31410E #587318 #7EA623 #A3D432 #B9DF65

Accessibility & contrast

On white

2.85
#7EA623 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#7EA623 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7EA623
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA623#FFFFFF#000000##000000
##7EA6231.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#AA9831
Tritanopia (blue-blind)
#849E8E
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7ea623;
/* rgb */ color: rgb(126, 166, 35);
/* oklch */ color: oklch(67.2% 0.158 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7c06a',
    500: '#7ea623',
    950: '#000000',
  },
}
SCSS
$custom: #7ea623;
$custom-light: #a7c06a;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea623",
  "rgb": {
    "r": 126,
    "g": 166,
    "b": 35
  },
  "hsl": {
    "h": 78.321,
    "s": 65.174,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67198,
    "c": 0.15801,
    "h": 125.8
  },
  "luminance": 0.31829
}

Semantic roles & 50–950 ramp

primary
#7EA623
secondary
#7F61C4
accent
#40E873
background
#FAFBF6
surface
#F4F7EC
border
#CED0C7
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA623

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

Preview Lab → · Contrast checker → · Palette generator →

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