#7D982D#7D982D

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

Color values

HEX#7D982D
RGBrgb(125, 152, 45)
HSLhsl(75, 54%, 39%)
HSVhsv(75, 70%, 60%)
CMYKcmyk(17.8%, 0%, 70.4%, 40.4%)
CIE-LABlab(58.98, -25.00, 50.58)
CIE-LCHlch(58.98, 56.42, 116.30°)
OKLaboklab(63.78% -0.0728 0.1137)
OKLCHoklch(63.78% 0.135 122.6)
XYZxyz(20.1596, 27.0058, 6.6327)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D982D #482D98
analogous
#987D2D #7D982D #47982D
triadic
#7D982D #2D7D98 #982D7D
tetradic
#7D982D #2D987D #482D98 #982D47
square
#7D982D #2D987D #482D98 #982D47
split-complementary
#7D982D #2D4798 #7D2D98
monochromatic
#2F3A11 #56691F #7D982D #A3C53D #B9D36C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D982D#FFFFFF#000000##000000
##7D982D1.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)
#A18F1C
Deuteranopia (green-blind)
#9E8E36
Tritanopia (blue-blind)
#839083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d982d;
/* rgb */ color: rgb(125, 152, 45);
/* oklch */ color: oklch(63.8% 0.135 122.6);
Tailwind
colors: {
  custom: {
    50: '#a6b66d',
    500: '#7d982d',
    950: '#000000',
  },
}
SCSS
$custom: #7d982d;
$custom-light: #a6b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d982d",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 45
  },
  "hsl": {
    "h": 75.14,
    "s": 54.315,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63784,
    "c": 0.13503,
    "h": 122.6
  },
  "luminance": 0.27006
}

Semantic roles & 50–950 ramp

primary
#7D982D
secondary
#7C66BA
accent
#4ADE6F
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D982D

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

Preview Lab → · Contrast checker → · Palette generator →

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