#7D981A#7D981A

#7D981A is a light, vivid yellow-green. Relative luminance 0.269; OKLCH L 63.7% C 0.146 H 121.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#7D981A
RGBrgb(125, 152, 26)
HSLhsl(73, 71%, 35%)
HSVhsv(73, 83%, 60%)
CMYKcmyk(17.8%, 0%, 82.9%, 40.4%)
CIE-LABlab(58.87, -25.97, 56.90)
CIE-LCHlch(58.87, 62.55, 114.53°)
OKLaboklab(63.66% -0.077 0.1239)
OKLCHoklch(63.66% 0.146 121.9)
XYZxyz(19.8725, 26.8910, 5.1206)
Luminance0.2689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D981A #351A98
analogous
#98741A #7D981A #3E981A
triadic
#7D981A #1A7D98 #981A7D
tetradic
#7D981A #1A9874 #351A98 #981A3E
square
#7D981A #1A9874 #351A98 #981A3E
split-complementary
#7D981A #1A3E98 #741A98
monochromatic
#272F08 #526411 #7D981A #A8CC23 #C1E04C

Accessibility & contrast

On white

3.29
#7D981A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#7D981A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D981A
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D981A#FFFFFF#000000##000000
##7D981A1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#9E8E28
Tritanopia (blue-blind)
#849081
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d981a;
/* rgb */ color: rgb(125, 152, 26);
/* oklch */ color: oklch(63.7% 0.146 121.9);
Tailwind
colors: {
  custom: {
    50: '#a6b664',
    500: '#7d981a',
    950: '#000000',
  },
}
SCSS
$custom: #7d981a;
$custom-light: #a6b664;
$custom-dark: #000000;
JSON
{
  "hex": "#7d981a",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 26
  },
  "hsl": {
    "h": 72.857,
    "s": 70.787,
    "l": 34.902
  },
  "oklch": {
    "l": 0.63664,
    "c": 0.14583,
    "h": 121.9
  },
  "luminance": 0.26891
}

Semantic roles & 50–950 ramp

primary
#7D981A
secondary
#654BC2
accent
#3AEE61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D981A

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

Preview Lab → · Contrast checker → · Palette generator →

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