#7D981D#7D981D

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

Color values

HEX#7D981D
RGBrgb(125, 152, 29)
HSLhsl(73, 68%, 35%)
HSVhsv(73, 81%, 60%)
CMYKcmyk(17.8%, 0%, 80.9%, 40.4%)
CIE-LABlab(58.89, -25.85, 56.06)
CIE-LCHlch(58.89, 61.73, 114.75°)
OKLaboklab(63.68% -0.0764 0.1226)
OKLCHoklch(63.68% 0.144 121.9)
XYZxyz(19.9078, 26.9051, 5.3066)
Luminance0.2691 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D981D #381D98
analogous
#98751D #7D981D #3F981D
triadic
#7D981D #1D7D98 #981D7D
tetradic
#7D981D #1D9875 #381D98 #981D3F
square
#7D981D #1D9875 #381D98 #981D3F
split-complementary
#7D981D #1D3F98 #751D98
monochromatic
#283109 #536513 #7D981D #A7CB27 #BFDE52

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D981D#FFFFFF#000000##000000
##7D981D1.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)
#9E8E2A
Tritanopia (blue-blind)
#849082
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d981d;
/* rgb */ color: rgb(125, 152, 29);
/* oklch */ color: oklch(63.7% 0.144 121.9);
Tailwind
colors: {
  custom: {
    50: '#a6b665',
    500: '#7d981d',
    950: '#000000',
  },
}
SCSS
$custom: #7d981d;
$custom-light: #a6b665;
$custom-dark: #000000;
JSON
{
  "hex": "#7d981d",
  "rgb": {
    "r": 125,
    "g": 152,
    "b": 29
  },
  "hsl": {
    "h": 73.171,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63679,
    "c": 0.14446,
    "h": 121.9
  },
  "luminance": 0.26905
}

Semantic roles & 50–950 ramp

primary
#7D981D
secondary
#6950C1
accent
#3DEB63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D981D

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

Preview Lab → · Contrast checker → · Palette generator →

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