#7EA01C#7EA01C

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

Color values

HEX#7EA01C
RGBrgb(126, 160, 28)
HSLhsl(75, 70%, 37%)
HSVhsv(75, 83%, 63%)
CMYKcmyk(21.2%, 0%, 82.5%, 37.3%)
CIE-LABlab(61.36, -29.34, 58.58)
CIE-LCHlch(61.36, 65.52, 116.61°)
OKLaboklab(65.7% -0.0861 0.1277)
OKLCHoklch(65.7% 0.154 124)
XYZxyz(21.3849, 29.6609, 5.6969)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA01C #3E1CA0
analogous
#A0801C #7EA01C #3CA01C
triadic
#7EA01C #1C7EA0 #A01C7E
tetradic
#7EA01C #1CA080 #3E1CA0 #A01C3C
square
#7EA01C #1CA080 #3E1CA0 #A01C3C
split-complementary
#7EA01C #1C3CA0 #801CA0
monochromatic
#2C380A #556C13 #7EA01C #A7D425 #BDE155

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7ea01c;
/* rgb */ color: rgb(126, 160, 28);
/* oklch */ color: oklch(65.7% 0.154 124.0);
Tailwind
colors: {
  custom: {
    50: '#a7bc66',
    500: '#7ea01c',
    950: '#000000',
  },
}
SCSS
$custom: #7ea01c;
$custom-light: #a7bc66;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea01c",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 28
  },
  "hsl": {
    "h": 75.455,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.65696,
    "c": 0.15403,
    "h": 124
  },
  "luminance": 0.29661
}

Semantic roles & 50–950 ramp

primary
#7EA01C
secondary
#7053C4
accent
#3BED69
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7EA01C

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

Preview Lab → · Contrast checker → · Palette generator →

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