#7DA221#7DA221

#7DA221 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 66.1% C 0.155 H 125.1°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#7DA221
RGBrgb(125, 162, 33)
HSLhsl(77, 66%, 38%)
HSVhsv(77, 80%, 64%)
CMYKcmyk(22.8%, 0%, 79.6%, 36.5%)
CIE-LABlab(61.92, -30.50, 57.62)
CIE-LCHlch(61.92, 65.19, 117.89°)
OKLaboklab(66.14% -0.0888 0.1266)
OKLCHoklch(66.14% 0.155 125.1)
XYZxyz(21.6525, 30.3102, 6.1483)
Luminance0.3031 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA221 #4621A2
analogous
#A28621 #7DA221 #3DA221
triadic
#7DA221 #217DA2 #A2217D
tetradic
#7DA221 #21A286 #4621A2 #A2213D
square
#7DA221 #21A286 #4621A2 #A2213D
split-complementary
#7DA221 #213DA2 #8621A2
monochromatic
#2F3C0C #566F17 #7DA221 #A4D42C #BADE5F

Accessibility & contrast

On white

2.97
#7DA221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#7DA221 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DA221
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DA221#FFFFFF#000000##000000
##7DA2211.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#839A8A
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #7da221;
/* rgb */ color: rgb(125, 162, 33);
/* oklch */ color: oklch(66.1% 0.155 125.1);
Tailwind
colors: {
  custom: {
    50: '#a7bd68',
    500: '#7da221',
    950: '#000000',
  },
}
SCSS
$custom: #7da221;
$custom-light: #a7bd68;
$custom-dark: #000000;
JSON
{
  "hex": "#7da221",
  "rgb": {
    "r": 125,
    "g": 162,
    "b": 33
  },
  "hsl": {
    "h": 77.209,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.6614,
    "c": 0.15461,
    "h": 125.1
  },
  "luminance": 0.3031
}

Semantic roles & 50–950 ramp

primary
#7DA221
secondary
#795CC3
accent
#3FE970
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7DA221

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

Preview Lab → · Contrast checker → · Palette generator →

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