#7D9929#7D9929

#7D9929 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 64.0% C 0.139 H 122.7°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#7D9929
RGBrgb(125, 153, 41)
HSLhsl(75, 58%, 38%)
HSVhsv(75, 73%, 60%)
CMYKcmyk(18.3%, 0%, 73.2%, 40%)
CIE-LABlab(59.25, -25.74, 52.39)
CIE-LCHlch(59.25, 58.37, 116.17°)
OKLaboklab(64% -0.0752 0.1169)
OKLCHoklch(64% 0.139 122.7)
XYZxyz(20.2492, 27.3025, 6.3005)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9929 #452999
analogous
#997D29 #7D9929 #459929
triadic
#7D9929 #297D99 #99297D
tetradic
#7D9929 #29997D #452999 #992945
square
#7D9929 #29997D #452999 #992945
split-complementary
#7D9929 #294599 #7D2999
monochromatic
#2E380F #56691C #7D9929 #A4C936 #BAD666

Accessibility & contrast

On white

3.25
#7D9929 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#7D9929 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9929
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9929#FFFFFF#000000##000000
##7D99291.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F14
Deuteranopia (green-blind)
#9F8F33
Tritanopia (blue-blind)
#849183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9929;
/* rgb */ color: rgb(125, 153, 41);
/* oklch */ color: oklch(64.0% 0.139 122.7);
Tailwind
colors: {
  custom: {
    50: '#a6b76b',
    500: '#7d9929',
    950: '#000000',
  },
}
SCSS
$custom: #7d9929;
$custom-light: #a6b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9929",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 41
  },
  "hsl": {
    "h": 75,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63996,
    "c": 0.13897,
    "h": 122.7
  },
  "luminance": 0.27303
}

Semantic roles & 50–950 ramp

primary
#7D9929
secondary
#7862BC
accent
#47E16D
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9929

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

Preview Lab → · Contrast checker → · Palette generator →

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