#7D9420#7D9420

#7D9420 is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.7% C 0.138 H 120.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7D9420
RGBrgb(125, 148, 32)
HSLhsl(72, 64%, 35%)
HSVhsv(72, 78%, 58%)
CMYKcmyk(15.5%, 0%, 78.4%, 42%)
CIE-LABlab(57.70, -23.74, 54.05)
CIE-LCHlch(57.70, 59.03, 113.71°)
OKLaboklab(62.72% -0.0704 0.1188)
OKLCHoklch(62.72% 0.138 120.6)
XYZxyz(19.3084, 25.6441, 5.2988)
Luminance0.2564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9420 #372094
analogous
#947120 #7D9420 #439420
triadic
#7D9420 #207D94 #94207D
tetradic
#7D9420 #209471 #372094 #942043
square
#7D9420 #209471 #372094 #942043
split-complementary
#7D9420 #204394 #712094
monochromatic
#282F0A #526215 #7D9420 #A7C62B #C0DA54

Accessibility & contrast

On white

3.43
#7D9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#7D9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9420
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9420#FFFFFF#000000##000000
##7D94201.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#848C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d9420;
/* rgb */ color: rgb(125, 148, 32);
/* oklch */ color: oklch(62.7% 0.138 120.6);
Tailwind
colors: {
  custom: {
    50: '#a6b366',
    500: '#7d9420',
    950: '#000000',
  },
}
SCSS
$custom: #7d9420;
$custom-light: #a6b366;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9420",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 71.897,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.62724,
    "c": 0.13814,
    "h": 120.6
  },
  "luminance": 0.25644
}

Semantic roles & 50–950 ramp

primary
#7D9420
secondary
#6752BE
accent
#40E761
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D9420

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

Preview Lab → · Contrast checker → · Palette generator →

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