#7EA015#7EA015

#7EA015 is a light, vivid yellow-green. Relative luminance 0.296; OKLCH L 65.7% C 0.157 H 123.8°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#7EA015
RGBrgb(126, 160, 21)
HSLhsl(75, 77%, 35%)
HSVhsv(75, 87%, 63%)
CMYKcmyk(21.2%, 0%, 86.9%, 37.3%)
CIE-LABlab(61.33, -29.58, 60.28)
CIE-LCHlch(61.33, 67.15, 116.14°)
OKLaboklab(65.67% -0.0871 0.1303)
OKLCHoklch(65.67% 0.157 123.8)
XYZxyz(21.3106, 29.6312, 5.3060)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA015 #3715A0
analogous
#A07C15 #7EA015 #39A015
triadic
#7EA015 #157EA0 #A0157E
tetradic
#7EA015 #15A07C #3715A0 #A01539
square
#7EA015 #15A07C #3715A0 #A01539
split-complementary
#7EA015 #1539A0 #7C15A0
monochromatic
#293407 #536A0E #7EA015 #A9D61C #C0E748

Accessibility & contrast

On white

3.03
#7EA015 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#7EA015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA015
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA015#FFFFFF#000000##000000
##7EA0151.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9500
Deuteranopia (green-blind)
#A59427
Tritanopia (blue-blind)
#859888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ea015;
/* rgb */ color: rgb(126, 160, 21);
/* oklch */ color: oklch(65.7% 0.157 123.8);
Tailwind
colors: {
  custom: {
    50: '#a8bc63',
    500: '#7ea015',
    950: '#000000',
  },
}
SCSS
$custom: #7ea015;
$custom-light: #a8bc63;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea015",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 74.676,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.65667,
    "c": 0.15674,
    "h": 123.8
  },
  "luminance": 0.29631
}

Semantic roles & 50–950 ramp

primary
#7EA015
secondary
#6849C8
accent
#34F363
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7EA015

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

Preview Lab → · Contrast checker → · Palette generator →

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