#7D982B#7D982B

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

Color values

HEX#7D982B
RGBrgb(125, 152, 43)
HSLhsl(75, 56%, 38%)
HSVhsv(75, 72%, 60%)
CMYKcmyk(17.8%, 0%, 71.7%, 40.4%)
CIE-LABlab(58.97, -25.13, 51.35)
CIE-LCHlch(58.97, 57.17, 116.08°)
OKLaboklab(63.77% -0.0733 0.115)
OKLCHoklch(63.77% 0.136 122.5)
XYZxyz(20.1220, 26.9908, 6.4347)
Luminance0.2699 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D982B #462B98
analogous
#987C2B #7D982B #47982B
triadic
#7D982B #2B7D98 #982B7D
tetradic
#7D982B #2B987C #462B98 #982B47
square
#7D982B #2B987C #462B98 #982B47
split-complementary
#7D982B #2B4798 #7C2B98
monochromatic
#2F3910 #56681E #7D982B #A4C739 #BAD569

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D982B#FFFFFF#000000##000000
##7D982B1.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)
#A18F19
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#849083
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d982b;
/* rgb */ color: rgb(125, 152, 43);
/* oklch */ color: oklch(63.8% 0.136 122.5);
Tailwind
colors: {
  custom: {
    50: '#a6b66c',
    500: '#7d982b',
    950: '#000000',
  },
}
SCSS
$custom: #7d982b;
$custom-light: #a6b66c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d982b",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 43
  },
  "hsl": {
    "h": 74.862,
    "s": 55.897,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63768,
    "c": 0.1364,
    "h": 122.5
  },
  "luminance": 0.26991
}

Semantic roles & 50–950 ramp

primary
#7D982B
secondary
#7964BB
accent
#49DF6E
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D982B

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

Preview Lab → · Contrast checker → · Palette generator →

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