#7D9732#7D9732

#7D9732 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.6% C 0.130 H 122.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7D9732
RGBrgb(125, 151, 50)
HSLhsl(75, 50%, 39%)
HSVhsv(75, 67%, 59%)
CMYKcmyk(17.2%, 0%, 66.9%, 40.8%)
CIE-LABlab(58.72, -24.17, 48.26)
CIE-LCHlch(58.72, 53.98, 116.60°)
OKLaboklab(63.58% -0.07 0.1096)
OKLCHoklch(63.58% 0.13 122.6)
XYZxyz(20.1000, 26.7234, 7.1162)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9732 #4C3297
analogous
#977F32 #7D9732 #4A9732
triadic
#7D9732 #327D97 #97327D
tetradic
#7D9732 #32977F #4C3297 #97324A
square
#7D9732 #32977F #4C3297 #97324A
split-complementary
#7D9732 #324A97 #7F3297
monochromatic
#313B14 #576923 #7D9732 #A1C145 #B8D173

Accessibility & contrast

On white

3.31
#7D9732 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7D9732 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9732
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9732#FFFFFF#000000##000000
##7D97321.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08E24
Deuteranopia (green-blind)
#9C8D3A
Tritanopia (blue-blind)
#838F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d9732;
/* rgb */ color: rgb(125, 151, 50);
/* oklch */ color: oklch(63.6% 0.130 122.6);
Tailwind
colors: {
  custom: {
    50: '#a5b56f',
    500: '#7d9732',
    950: '#000000',
  },
}
SCSS
$custom: #7d9732;
$custom-light: #a5b56f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9732",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 50
  },
  "hsl": {
    "h": 75.446,
    "s": 50.249,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63584,
    "c": 0.13006,
    "h": 122.6
  },
  "luminance": 0.26723
}

Semantic roles & 50–950 ramp

primary
#7D9732
secondary
#806CB9
accent
#4EDA72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9732

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

Preview Lab → · Contrast checker → · Palette generator →

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