#7D9920#7D9920

#7D9920 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.9% C 0.144 H 122.4°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#7D9920
RGBrgb(125, 153, 32)
HSLhsl(74, 65%, 36%)
HSVhsv(74, 79%, 60%)
CMYKcmyk(18.3%, 0%, 79.1%, 40%)
CIE-LABlab(59.20, -26.21, 55.43)
CIE-LCHlch(59.20, 61.32, 115.30°)
OKLaboklab(63.94% -0.0772 0.1218)
OKLCHoklch(63.94% 0.144 122.4)
XYZxyz(20.1097, 27.2467, 5.5659)
Luminance0.2725 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9920 #3C2099
analogous
#997920 #7D9920 #419920
triadic
#7D9920 #207D99 #99207D
tetradic
#7D9920 #209979 #3C2099 #992041
square
#7D9920 #209979 #3C2099 #992041
split-complementary
#7D9920 #204199 #792099
monochromatic
#2A340B #546615 #7D9920 #A6CC2B #BDDC57

Accessibility & contrast

On white

3.26
#7D9920 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#7D9920 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9920
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9920#FFFFFF#000000##000000
##7D99201.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#849183
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9920;
/* rgb */ color: rgb(125, 153, 32);
/* oklch */ color: oklch(63.9% 0.144 122.4);
Tailwind
colors: {
  custom: {
    50: '#a6b766',
    500: '#7d9920',
    950: '#000000',
  },
}
SCSS
$custom: #7d9920;
$custom-light: #a6b766;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9920",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 32
  },
  "hsl": {
    "h": 73.884,
    "s": 65.405,
    "l": 36.275
  },
  "oklch": {
    "l": 0.63938,
    "c": 0.14417,
    "h": 122.4
  },
  "luminance": 0.27247
}

Semantic roles & 50–950 ramp

primary
#7D9920
secondary
#6E55C0
accent
#3FE867
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9920

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

Preview Lab → · Contrast checker → · Palette generator →

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