#7E9721#7E9721

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

Color values

HEX#7E9721
RGBrgb(126, 151, 33)
HSLhsl(73, 64%, 36%)
HSVhsv(73, 78%, 59%)
CMYKcmyk(16.6%, 0%, 78.1%, 40.8%)
CIE-LABlab(58.68, -24.75, 54.65)
CIE-LCHlch(58.68, 60.00, 114.37°)
OKLaboklab(63.53% -0.0732 0.1203)
OKLCHoklch(63.53% 0.141 121.3)
XYZxyz(19.9456, 26.6786, 5.5373)
Luminance0.2668 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9721 #3A2197
analogous
#977521 #7E9721 #439721
triadic
#7E9721 #217E97 #97217E
tetradic
#7E9721 #219775 #3A2197 #972143
square
#7E9721 #219775 #3A2197 #972143
split-complementary
#7E9721 #214397 #752197
monochromatic
#2A330B #546516 #7E9721 #A8C92C #BFDA58

Accessibility & contrast

On white

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

On black

6.34
#7E9721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9721
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9721#FFFFFF#000000##000000
##7E97211.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7e9721;
/* rgb */ color: rgb(126, 151, 33);
/* oklch */ color: oklch(63.5% 0.141 121.3);
Tailwind
colors: {
  custom: {
    50: '#a7b567',
    500: '#7e9721',
    950: '#000000',
  },
}
SCSS
$custom: #7e9721;
$custom-light: #a7b567;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9721",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 33
  },
  "hsl": {
    "h": 72.712,
    "s": 64.13,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63533,
    "c": 0.14078,
    "h": 121.3
  },
  "luminance": 0.26679
}

Semantic roles & 50–950 ramp

primary
#7E9721
secondary
#6C55BE
accent
#41E764
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7E9721

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

Preview Lab → · Contrast checker → · Palette generator →

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