#7EA01F#7EA01F

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

Color values

HEX#7EA01F
RGBrgb(126, 160, 31)
HSLhsl(76, 68%, 37%)
HSVhsv(76, 81%, 63%)
CMYKcmyk(21.2%, 0%, 80.6%, 37.3%)
CIE-LABlab(61.37, -29.22, 57.74)
CIE-LCHlch(61.37, 64.71, 116.84°)
OKLaboklab(65.71% -0.0855 0.1265)
OKLCHoklch(65.71% 0.153 124.1)
XYZxyz(21.4226, 29.6760, 5.8955)
Luminance0.2968 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7EA01F #411FA0
analogous
#A0821F #7EA01F #3EA01F
triadic
#7EA01F #1F7EA0 #A01F7E
tetradic
#7EA01F #1FA082 #411FA0 #A01F3E
square
#7EA01F #1FA082 #411FA0 #A01F3E
split-complementary
#7EA01F #1F3EA0 #821FA0
monochromatic
#2D390B #566D15 #7EA01F #A6D329 #BCDF5A

Accessibility & contrast

On white

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

On black

6.94
#7EA01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7EA01F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7EA01F#FFFFFF#000000##000000
##7EA01F1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A5942D
Tritanopia (blue-blind)
#849889
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #7ea01f;
/* rgb */ color: rgb(126, 160, 31);
/* oklch */ color: oklch(65.7% 0.153 124.1);
Tailwind
colors: {
  custom: {
    50: '#a7bc67',
    500: '#7ea01f',
    950: '#000000',
  },
}
SCSS
$custom: #7ea01f;
$custom-light: #a7bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#7ea01f",
  "rgb": {
    "r": 126,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 75.814,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.65711,
    "c": 0.15267,
    "h": 124.1
  },
  "luminance": 0.29676
}

Semantic roles & 50–950 ramp

primary
#7EA01F
secondary
#7458C3
accent
#3DEA6B
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7EA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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