#7E971E#7E971E

#7E971E is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.5% C 0.142 H 121.2°. Best body text is #000000 at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#7E971E
RGBrgb(126, 151, 30)
HSLhsl(72, 67%, 35%)
HSVhsv(72, 80%, 59%)
CMYKcmyk(16.6%, 0%, 80.1%, 40.8%)
CIE-LABlab(58.66, -24.89, 55.58)
CIE-LCHlch(58.66, 60.90, 114.12°)
OKLaboklab(63.52% -0.0738 0.1217)
OKLCHoklch(63.52% 0.142 121.2)
XYZxyz(19.9055, 26.6626, 5.3258)
Luminance0.2666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E971E #371E97
analogous
#97741E #7E971E #41971E
triadic
#7E971E #1E7E97 #971E7E
tetradic
#7E971E #1E9774 #371E97 #971E41
square
#7E971E #1E9774 #371E97 #971E41
split-complementary
#7E971E #1E4197 #741E97
monochromatic
#29310A #536414 #7E971E #A9CA28 #C0DD53

Accessibility & contrast

On white

3.32
#7E971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.33
#7E971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E971E
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E971E#FFFFFF#000000##000000
##7E971E1.003.326.336.33
#FFFFFF3.321.0021.0021.00
#0000006.3321.001.001.00
##0000006.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#9E8D2A
Tritanopia (blue-blind)
#858F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e971e;
/* rgb */ color: rgb(126, 151, 30);
/* oklch */ color: oklch(63.5% 0.142 121.2);
Tailwind
colors: {
  custom: {
    50: '#a7b565',
    500: '#7e971e',
    950: '#000000',
  },
}
SCSS
$custom: #7e971e;
$custom-light: #a7b565;
$custom-dark: #000000;
JSON
{
  "hex": "#7e971e",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 72.397,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63516,
    "c": 0.14233,
    "h": 121.2
  },
  "luminance": 0.26663
}

Semantic roles & 50–950 ramp

primary
#7E971E
secondary
#6851C0
accent
#3EEA62
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E971E

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

Preview Lab → · Contrast checker → · Palette generator →

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