#7D971C#7D971C

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

Color values

HEX#7D971C
RGBrgb(125, 151, 28)
HSLhsl(73, 69%, 35%)
HSVhsv(73, 81%, 59%)
CMYKcmyk(17.2%, 0%, 81.5%, 40.8%)
CIE-LABlab(58.58, -25.40, 56.08)
CIE-LCHlch(58.58, 61.56, 114.37°)
OKLaboklab(63.43% -0.0753 0.1225)
OKLCHoklch(63.43% 0.144 121.6)
XYZxyz(19.7340, 26.5770, 5.1886)
Luminance0.2658 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D971C #361C97
analogous
#97731C #7D971C #3F971C
triadic
#7D971C #1C7D97 #971C7D
tetradic
#7D971C #1C9773 #361C97 #971C3F
square
#7D971C #1C9773 #361C97 #971C3F
split-complementary
#7D971C #1C3F97 #731C97
monochromatic
#283009 #526312 #7D971C #A8CB26 #C0DE4F

Accessibility & contrast

On white

3.33
#7D971C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D971C#FFFFFF#000000##000000
##7D971C1.003.336.326.32
#FFFFFF3.331.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d971c;
/* rgb */ color: rgb(125, 151, 28);
/* oklch */ color: oklch(63.4% 0.144 121.6);
Tailwind
colors: {
  custom: {
    50: '#a6b564',
    500: '#7d971c',
    950: '#000000',
  },
}
SCSS
$custom: #7d971c;
$custom-light: #a6b564;
$custom-dark: #000000;
JSON
{
  "hex": "#7d971c",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 72.683,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.6343,
    "c": 0.14373,
    "h": 121.6
  },
  "luminance": 0.26577
}

Semantic roles & 50–950 ramp

primary
#7D971C
secondary
#664EC1
accent
#3CEC61
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D971C

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

Preview Lab → · Contrast checker → · Palette generator →

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