#7EA017#7EA017

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

Color values

HEX#7EA017
RGBrgb(126, 160, 23)
HSLhsl(75, 75%, 36%)
HSVhsv(75, 86%, 63%)
CMYKcmyk(21.2%, 0%, 85.6%, 37.3%)
CIE-LABlab(61.34, -29.52, 59.83)
CIE-LCHlch(61.34, 66.72, 116.26°)
OKLaboklab(65.67% -0.0869 0.1296)
OKLCHoklch(65.67% 0.156 123.8)
XYZxyz(21.3299, 29.6389, 5.4076)
Luminance0.2964 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA017 #3917A0
analogous
#A07D17 #7EA017 #39A017
triadic
#7EA017 #177EA0 #A0177E
tetradic
#7EA017 #17A07D #3917A0 #A01739
square
#7EA017 #17A07D #3917A0 #A01739
split-complementary
#7EA017 #1739A0 #7D17A0
monochromatic
#2A3508 #546A0F #7EA017 #A8D61F #BFE54C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7EA017#FFFFFF#000000##000000
##7EA0171.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)
#A59428
Tritanopia (blue-blind)
#859888
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ea017;
/* rgb */ color: rgb(126, 160, 23);
/* oklch */ color: oklch(65.7% 0.156 123.8);
Tailwind
colors: {
  custom: {
    50: '#a7bc64',
    500: '#7ea017',
    950: '#000000',
  },
}
SCSS
$custom: #7ea017;
$custom-light: #a7bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea017",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 74.891,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.65674,
    "c": 0.15603,
    "h": 123.8
  },
  "luminance": 0.29639
}

Semantic roles & 50–950 ramp

primary
#7EA017
secondary
#6A4CC7
accent
#36F165
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7EA017

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

Preview Lab → · Contrast checker → · Palette generator →

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