#7D941D#7D941D

#7D941D is a light, vivid yellow-green. Relative luminance 0.256; OKLCH L 62.7% C 0.140 H 120.6°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#7D941D
RGBrgb(125, 148, 29)
HSLhsl(72, 67%, 35%)
HSVhsv(72, 80%, 58%)
CMYKcmyk(15.5%, 0%, 80.4%, 42%)
CIE-LABlab(57.68, -23.87, 54.97)
CIE-LCHlch(57.68, 59.93, 113.47°)
OKLaboklab(62.71% -0.071 0.1203)
OKLCHoklch(62.71% 0.14 120.6)
XYZxyz(19.2695, 25.6285, 5.0938)
Luminance0.2563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D941D #341D94
analogous
#94701D #7D941D #41941D
triadic
#7D941D #1D7D94 #941D7D
tetradic
#7D941D #1D9470 #341D94 #941D41
square
#7D941D #1D9470 #341D94 #941D41
split-complementary
#7D941D #1D4194 #701D94
monochromatic
#272E09 #526113 #7D941D #A8C727 #C1DC4F

Accessibility & contrast

On white

3.43
#7D941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.13
#7D941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D941D
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D941D#FFFFFF#000000##000000
##7D941D1.003.436.136.13
#FFFFFF3.431.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#848C7E
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #7d941d;
/* rgb */ color: rgb(125, 148, 29);
/* oklch */ color: oklch(62.7% 0.140 120.6);
Tailwind
colors: {
  custom: {
    50: '#a6b364',
    500: '#7d941d',
    950: '#000000',
  },
}
SCSS
$custom: #7d941d;
$custom-light: #a6b364;
$custom-dark: #000000;
JSON
{
  "hex": "#7d941d",
  "rgb": {
    "r": 125,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 71.597,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62707,
    "c": 0.13968,
    "h": 120.6
  },
  "luminance": 0.25628
}

Semantic roles & 50–950 ramp

primary
#7D941D
secondary
#644EBF
accent
#3EEA5F
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101106
muted
#7F807A

Preview Lab

Preview with #7D941D

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

Preview Lab → · Contrast checker → · Palette generator →

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