#7EA01B#7EA01B

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

Color values

HEX#7EA01B
RGBrgb(126, 160, 27)
HSLhsl(75, 71%, 37%)
HSVhsv(75, 83%, 63%)
CMYKcmyk(21.2%, 0%, 83.1%, 37.3%)
CIE-LABlab(61.36, -29.38, 58.84)
CIE-LCHlch(61.36, 65.77, 116.53°)
OKLaboklab(65.69% -0.0862 0.1281)
OKLCHoklch(65.69% 0.154 123.9)
XYZxyz(21.3731, 29.6562, 5.6349)
Luminance0.2966 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA01B #3D1BA0
analogous
#A0801B #7EA01B #3CA01B
triadic
#7EA01B #1B7EA0 #A01B7E
tetradic
#7EA01B #1BA080 #3D1BA0 #A01B3C
square
#7EA01B #1BA080 #3D1BA0 #A01B3C
split-complementary
#7EA01B #1B3CA0 #801BA0
monochromatic
#2C3709 #556C12 #7EA01B #A7D424 #BEE253

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #7ea01b;
/* rgb */ color: rgb(126, 160, 27);
/* oklch */ color: oklch(65.7% 0.154 123.9);
Tailwind
colors: {
  custom: {
    50: '#a7bc65',
    500: '#7ea01b',
    950: '#000000',
  },
}
SCSS
$custom: #7ea01b;
$custom-light: #a7bc65;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea01b",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 75.338,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.15446,
    "h": 123.9
  },
  "luminance": 0.29656
}

Semantic roles & 50–950 ramp

primary
#7EA01B
secondary
#6F52C5
accent
#3AEE68
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101206
muted
#7F817A

Preview Lab

Preview with #7EA01B

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

Preview Lab → · Contrast checker → · Palette generator →

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