#7D982E#7D982E

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

Color values

HEX#7D982E
RGBrgb(125, 152, 46)
HSLhsl(75, 54%, 39%)
HSVhsv(75, 70%, 60%)
CMYKcmyk(17.8%, 0%, 69.7%, 40.4%)
CIE-LABlab(58.99, -24.94, 50.19)
CIE-LCHlch(58.99, 56.05, 116.42°)
OKLaboklab(63.79% -0.0725 0.1131)
OKLCHoklch(63.79% 0.134 122.7)
XYZxyz(20.1791, 27.0136, 6.7353)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D982E #492E98
analogous
#987E2E #7D982E #48982E
triadic
#7D982E #2E7D98 #982E7D
tetradic
#7D982E #2E987E #492E98 #982E48
square
#7D982E #2E987E #492E98 #982E48
split-complementary
#7D982E #2E4898 #7E2E98
monochromatic
#303A12 #566920 #7D982E #A3C53E #B9D36D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D982E#FFFFFF#000000##000000
##7D982E1.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)
#A18F1E
Deuteranopia (green-blind)
#9D8E36
Tritanopia (blue-blind)
#839083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d982e;
/* rgb */ color: rgb(125, 152, 46);
/* oklch */ color: oklch(63.8% 0.134 122.7);
Tailwind
colors: {
  custom: {
    50: '#a6b66d',
    500: '#7d982e',
    950: '#000000',
  },
}
SCSS
$custom: #7d982e;
$custom-light: #a6b66d;
$custom-dark: #000000;
JSON
{
  "hex": "#7d982e",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 46
  },
  "hsl": {
    "h": 75.283,
    "s": 53.535,
    "l": 38.824
  },
  "oklch": {
    "l": 0.63792,
    "c": 0.13433,
    "h": 122.7
  },
  "luminance": 0.27014
}

Semantic roles & 50–950 ramp

primary
#7D982E
secondary
#7D68BA
accent
#4BDD70
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D982E

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

Preview Lab → · Contrast checker → · Palette generator →

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