#7E972E#7E972E

#7E972E is a light, vivid yellow-green. Relative luminance 0.268; OKLCH L 63.6% C 0.133 H 121.9°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#7E972E
RGBrgb(126, 151, 46)
HSLhsl(74, 53%, 39%)
HSVhsv(74, 70%, 59%)
CMYKcmyk(16.6%, 0%, 69.5%, 40.8%)
CIE-LABlab(58.76, -24.02, 49.98)
CIE-LCHlch(58.76, 55.45, 115.67°)
OKLaboklab(63.62% -0.07 0.1126)
OKLCHoklch(63.62% 0.133 121.9)
XYZxyz(20.1642, 26.7661, 6.6883)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E972E #472E97
analogous
#977B2E #7E972E #49972E
triadic
#7E972E #2E7E97 #972E7E
tetradic
#7E972E #2E977B #472E97 #972E49
square
#7E972E #2E977B #472E97 #972E49
split-complementary
#7E972E #2E4997 #7B2E97
monochromatic
#303911 #576820 #7E972E #A4C43E #BAD26D

Accessibility & contrast

On white

3.31
#7E972E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.35
#7E972E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E972E
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E972E#FFFFFF#000000##000000
##7E972E1.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E1E
Deuteranopia (green-blind)
#9D8D36
Tritanopia (blue-blind)
#858F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e972e;
/* rgb */ color: rgb(126, 151, 46);
/* oklch */ color: oklch(63.6% 0.133 121.9);
Tailwind
colors: {
  custom: {
    50: '#a6b56d',
    500: '#7e972e',
    950: '#000000',
  },
}
SCSS
$custom: #7e972e;
$custom-light: #a6b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e972e",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 46
  },
  "hsl": {
    "h": 74.286,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63624,
    "c": 0.1326,
    "h": 121.9
  },
  "luminance": 0.26766
}

Semantic roles & 50–950 ramp

primary
#7E972E
secondary
#7B67BA
accent
#4BDD6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7E972E

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

Preview Lab → · Contrast checker → · Palette generator →

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