#7D982A#7D982A

#7D982A is a light, vivid yellow-green. Relative luminance 0.270; OKLCH L 63.8% C 0.137 H 122.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#7D982A
RGBrgb(125, 152, 42)
HSLhsl(75, 57%, 38%)
HSVhsv(75, 72%, 60%)
CMYKcmyk(17.8%, 0%, 72.4%, 40.4%)
CIE-LABlab(58.96, -25.19, 51.72)
CIE-LCHlch(58.96, 57.53, 115.97°)
OKLaboklab(63.76% -0.0736 0.1157)
OKLCHoklch(63.76% 0.137 122.5)
XYZxyz(20.1039, 26.9836, 6.3393)
Luminance0.2698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D982A #452A98
analogous
#987C2A #7D982A #46982A
triadic
#7D982A #2A7D98 #982A7D
tetradic
#7D982A #2A987C #452A98 #982A46
square
#7D982A #2A987C #452A98 #982A46
split-complementary
#7D982A #2A4698 #7C2A98
monochromatic
#2E3810 #56681D #7D982A #A4C837 #BAD567

Accessibility & contrast

On white

3.28
#7D982A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#7D982A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D982A
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D982A#FFFFFF#000000##000000
##7D982A1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18F17
Deuteranopia (green-blind)
#9E8E33
Tritanopia (blue-blind)
#849082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d982a;
/* rgb */ color: rgb(125, 152, 42);
/* oklch */ color: oklch(63.8% 0.137 122.5);
Tailwind
colors: {
  custom: {
    50: '#a6b66b',
    500: '#7d982a',
    950: '#000000',
  },
}
SCSS
$custom: #7d982a;
$custom-light: #a6b66b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d982a",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 42
  },
  "hsl": {
    "h": 74.727,
    "s": 56.701,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63761,
    "c": 0.13707,
    "h": 122.5
  },
  "luminance": 0.26984
}

Semantic roles & 50–950 ramp

primary
#7D982A
secondary
#7862BB
accent
#48E06D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D982A

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

Preview Lab → · Contrast checker → · Palette generator →

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