#7D9D20#7D9D20

#7D9D20 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.9% C 0.149 H 123.6°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#7D9D20
RGBrgb(125, 157, 32)
HSLhsl(75, 66%, 37%)
HSVhsv(75, 80%, 62%)
CMYKcmyk(20.4%, 0%, 79.6%, 38.4%)
CIE-LABlab(60.41, -28.15, 56.54)
CIE-LCHlch(60.41, 63.16, 116.47°)
OKLaboklab(64.91% -0.0825 0.1241)
OKLCHoklch(64.91% 0.149 123.6)
XYZxyz(20.7754, 28.5780, 5.7878)
Luminance0.2858 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D20 #40209D
analogous
#9D7F20 #7D9D20 #3F9D20
triadic
#7D9D20 #207D9D #9D207D
tetradic
#7D9D20 #209D7F #40209D #9D203F
square
#7D9D20 #209D7F #40209D #9D203F
split-complementary
#7D9D20 #203F9D #7F209D
monochromatic
#2C370B #556A16 #7D9D20 #A5D02A #BCDD5A

Accessibility & contrast

On white

3.13
#7D9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#7D9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D20
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D20#FFFFFF#000000##000000
##7D9D201.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69300
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#849586
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d20;
/* rgb */ color: rgb(125, 157, 32);
/* oklch */ color: oklch(64.9% 0.149 123.6);
Tailwind
colors: {
  custom: {
    50: '#a6ba67',
    500: '#7d9d20',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d20;
$custom-light: #a6ba67;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d20",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 75.36,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64913,
    "c": 0.14903,
    "h": 123.6
  },
  "luminance": 0.28578
}

Semantic roles & 50–950 ramp

primary
#7D9D20
secondary
#7357C1
accent
#3FE96A
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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