#7D9928#7D9928

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

Color values

HEX#7D9928
RGBrgb(125, 153, 40)
HSLhsl(75, 59%, 38%)
HSVhsv(75, 74%, 60%)
CMYKcmyk(18.3%, 0%, 73.9%, 40%)
CIE-LABlab(59.25, -25.80, 52.75)
CIE-LCHlch(59.25, 58.72, 116.06°)
OKLaboklab(63.99% -0.0754 0.1175)
OKLCHoklch(63.99% 0.14 122.7)
XYZxyz(20.2319, 27.2956, 6.2098)
Luminance0.2730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9928 #442899
analogous
#997C28 #7D9928 #459928
triadic
#7D9928 #287D99 #99287D
tetradic
#7D9928 #28997C #442899 #992845
square
#7D9928 #28997C #442899 #992845
split-complementary
#7D9928 #284599 #7C2899
monochromatic
#2E380F #55681B #7D9928 #A5CA35 #BAD765

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9928#FFFFFF#000000##000000
##7D99281.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)
#A28F12
Deuteranopia (green-blind)
#9F8F32
Tritanopia (blue-blind)
#849183
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9928;
/* rgb */ color: rgb(125, 153, 40);
/* oklch */ color: oklch(64.0% 0.140 122.7);
Tailwind
colors: {
  custom: {
    50: '#a6b76a',
    500: '#7d9928',
    950: '#000000',
  },
}
SCSS
$custom: #7d9928;
$custom-light: #a6b76a;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9928",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 40
  },
  "hsl": {
    "h": 74.867,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63989,
    "c": 0.13961,
    "h": 122.7
  },
  "luminance": 0.27296
}

Semantic roles & 50–950 ramp

primary
#7D9928
secondary
#7760BD
accent
#46E26D
background
#FAFBF6
surface
#F4F6EB
border
#CED0C6
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9928

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

Preview Lab → · Contrast checker → · Palette generator →

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