#7D9520#7D9520

#7D9520 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 63.0% C 0.139 H 121.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#7D9520
RGBrgb(125, 149, 32)
HSLhsl(72, 65%, 35%)
HSVhsv(72, 79%, 58%)
CMYKcmyk(16.1%, 0%, 78.5%, 41.6%)
CIE-LABlab(58.00, -24.23, 54.32)
CIE-LCHlch(58.00, 59.48, 114.04°)
OKLaboklab(62.97% -0.0718 0.1194)
OKLCHoklch(62.97% 0.139 121)
XYZxyz(19.4660, 25.9592, 5.3513)
Luminance0.2596 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9520 #382095
analogous
#957320 #7D9520 #429520
triadic
#7D9520 #207D95 #95207D
tetradic
#7D9520 #209573 #382095 #952042
square
#7D9520 #209573 #382095 #952042
split-complementary
#7D9520 #204295 #732095
monochromatic
#28300A #536315 #7D9520 #A7C72B #BFDA55

Accessibility & contrast

On white

3.39
#7D9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#7D9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9520
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9520#FFFFFF#000000##000000
##7D95201.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#848D7F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d9520;
/* rgb */ color: rgb(125, 149, 32);
/* oklch */ color: oklch(63.0% 0.139 121.0);
Tailwind
colors: {
  custom: {
    50: '#a6b466',
    500: '#7d9520',
    950: '#000000',
  },
}
SCSS
$custom: #7d9520;
$custom-light: #a6b466;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9520",
  "rgb": {
    "r": 125,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 72.308,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.62966,
    "c": 0.13933,
    "h": 121
  },
  "luminance": 0.25959
}

Semantic roles & 50–950 ramp

primary
#7D9520
secondary
#6953BE
accent
#40E863
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9520

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

Preview Lab → · Contrast checker → · Palette generator →

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