#7D971E#7D971E

#7D971E is a light, vivid yellow-green. Relative luminance 0.266; OKLCH L 63.4% C 0.143 H 121.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#7D971E
RGBrgb(125, 151, 30)
HSLhsl(73, 67%, 35%)
HSVhsv(73, 80%, 59%)
CMYKcmyk(17.2%, 0%, 80.1%, 40.8%)
CIE-LABlab(58.59, -25.31, 55.49)
CIE-LCHlch(58.59, 60.99, 114.52°)
OKLaboklab(63.44% -0.0749 0.1216)
OKLCHoklch(63.44% 0.143 121.6)
XYZxyz(19.7587, 26.5869, 5.3189)
Luminance0.2659 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D971E #381E97
analogous
#97751E #7D971E #40971E
triadic
#7D971E #1E7D97 #971E7D
tetradic
#7D971E #1E9775 #381E97 #971E40
square
#7D971E #1E9775 #381E97 #971E40
split-complementary
#7D971E #1E4097 #751E97
monochromatic
#28310A #536414 #7D971E #A7CA28 #BFDD53

Accessibility & contrast

On white

3.32
#7D971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#7D971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D971E
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D971E#FFFFFF#000000##000000
##7D971E1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18D00
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#848F81
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d971e;
/* rgb */ color: rgb(125, 151, 30);
/* oklch */ color: oklch(63.4% 0.143 121.6);
Tailwind
colors: {
  custom: {
    50: '#a6b565',
    500: '#7d971e',
    950: '#000000',
  },
}
SCSS
$custom: #7d971e;
$custom-light: #a6b565;
$custom-dark: #000000;
JSON
{
  "hex": "#7d971e",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 72.893,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63441,
    "c": 0.14277,
    "h": 121.6
  },
  "luminance": 0.26587
}

Semantic roles & 50–950 ramp

primary
#7D971E
secondary
#6951C0
accent
#3EEA63
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D971E

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

Preview Lab → · Contrast checker → · Palette generator →

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