#7EA230#7EA230

#7EA230 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#7EA230
RGBrgb(126, 162, 48)
HSLhsl(79, 54%, 41%)
HSVhsv(79, 70%, 64%)
CMYKcmyk(22.2%, 0%, 70.4%, 36.5%)
CIE-LABlab(62.07, -29.26, 52.56)
CIE-LCHlch(62.07, 60.16, 119.11°)
OKLaboklab(66.31% -0.0843 0.1183)
OKLCHoklch(66.31% 0.145 125.5)
XYZxyz(22.0581, 30.4894, 7.5187)
Luminance0.3049 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA230 #5430A2
analogous
#A28D30 #7EA230 #45A230
triadic
#7EA230 #307EA2 #A2307E
tetradic
#7EA230 #30A28D #5430A2 #A23045
square
#7EA230 #30A28D #5430A2 #A23045
split-complementary
#7EA230 #3045A2 #8D30A2
monochromatic
#354414 #597322 #7EA230 #9FC847 #B8D676

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA230#FFFFFF#000000##000000
##7EA2301.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)
#AB971E
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#849A8B
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7ea230;
/* rgb */ color: rgb(126, 162, 48);
/* oklch */ color: oklch(66.3% 0.145 125.5);
Tailwind
colors: {
  custom: {
    50: '#a7bd6f',
    500: '#7ea230',
    950: '#000000',
  },
}
SCSS
$custom: #7ea230;
$custom-light: #a7bd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea230",
  "rgb": {
    "r": 126,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 78.947,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.66309,
    "c": 0.14528,
    "h": 125.5
  },
  "luminance": 0.3049
}

Semantic roles & 50–950 ramp

primary
#7EA230
secondary
#886FBE
accent
#4ADE79
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101208
muted
#7F817B

Preview Lab

Preview with #7EA230

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

Preview Lab → · Contrast checker → · Palette generator →

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