#7D9D29#7D9D29

#7D9D29 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 65.0% C 0.144 H 124.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#7D9D29
RGBrgb(125, 157, 41)
HSLhsl(77, 59%, 39%)
HSVhsv(77, 74%, 62%)
CMYKcmyk(20.4%, 0%, 73.9%, 38.4%)
CIE-LABlab(60.46, -27.69, 53.57)
CIE-LCHlch(60.46, 60.30, 117.34°)
OKLaboklab(64.97% -0.0805 0.1194)
OKLCHoklch(64.97% 0.144 124)
XYZxyz(20.9149, 28.6338, 6.5224)
Luminance0.2863 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D29 #49299D
analogous
#9D8329 #7D9D29 #439D29
triadic
#7D9D29 #297D9D #9D297D
tetradic
#7D9D29 #299D83 #49299D #9D2943
square
#7D9D29 #299D83 #49299D #9D2943
split-complementary
#7D9D29 #29439D #83299D
monochromatic
#303C10 #566C1C #7D9D29 #A3CB38 #B9D869

Accessibility & contrast

On white

3.12
#7D9D29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#7D9D29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D29
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D29#FFFFFF#000000##000000
##7D9D291.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69313
Deuteranopia (green-blind)
#A29133
Tritanopia (blue-blind)
#839587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d29;
/* rgb */ color: rgb(125, 157, 41);
/* oklch */ color: oklch(65.0% 0.144 124.0);
Tailwind
colors: {
  custom: {
    50: '#a6ba6b',
    500: '#7d9d29',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d29;
$custom-light: #a6ba6b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d29",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 41
  },
  "hsl": {
    "h": 76.552,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64969,
    "c": 0.14399,
    "h": 124
  },
  "luminance": 0.28634
}

Semantic roles & 50–950 ramp

primary
#7D9D29
secondary
#7D64BE
accent
#46E271
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9D29

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

Preview Lab → · Contrast checker → · Palette generator →

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