#7DA520#7DA520

#7DA520 is a light, vivid yellow-green. Relative luminance 0.314; OKLCH L 66.9% C 0.159 H 125.8°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7DA520
RGBrgb(125, 165, 32)
HSLhsl(78, 68%, 39%)
HSVhsv(78, 81%, 65%)
CMYKcmyk(24.2%, 0%, 80.6%, 35.3%)
CIE-LABlab(62.82, -31.95, 58.73)
CIE-LCHlch(62.82, 66.86, 118.55°)
OKLaboklab(66.87% -0.0928 0.1288)
OKLCHoklch(66.87% 0.159 125.8)
XYZxyz(22.1735, 31.3742, 6.2538)
Luminance0.3137 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7DA520 #4820A5
analogous
#A58A20 #7DA520 #3AA520
triadic
#7DA520 #207DA5 #A5207D
tetradic
#7DA520 #20A58A #4820A5 #A5203A
square
#7DA520 #20A58A #4820A5 #A5203A
split-complementary
#7DA520 #203AA5 #8A20A5
monochromatic
#2F3E0C #567216 #7DA520 #A3D62C #B9E05F

Accessibility & contrast

On white

2.89
#7DA520 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#7DA520 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7DA520
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7DA520#FFFFFF#000000##000000
##7DA5201.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A9972E
Tritanopia (blue-blind)
#839D8D
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #7da520;
/* rgb */ color: rgb(125, 165, 32);
/* oklch */ color: oklch(66.9% 0.159 125.8);
Tailwind
colors: {
  custom: {
    50: '#a7c068',
    500: '#7da520',
    950: '#000000',
  },
}
SCSS
$custom: #7da520;
$custom-light: #a7c068;
$custom-dark: #000000;
JSON
{
  "hex": "#7da520",
  "rgb": {
    "r": 125,
    "g": 165,
    "b": 32
  },
  "hsl": {
    "h": 78.045,
    "s": 67.513,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66869,
    "c": 0.15874,
    "h": 125.8
  },
  "luminance": 0.31375
}

Semantic roles & 50–950 ramp

primary
#7DA520
secondary
#7C5CC5
accent
#3DEA71
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#101207
muted
#7F817A

Preview Lab

Preview with #7DA520

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

Preview Lab → · Contrast checker → · Palette generator →

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