#7D9D32#7D9D32

#7D9D32 is a light, vivid yellow-green. Relative luminance 0.287; OKLCH L 65.0% C 0.138 H 124.5°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7D9D32
RGBrgb(125, 157, 50)
HSLhsl(78, 52%, 41%)
HSVhsv(78, 68%, 62%)
CMYKcmyk(20.4%, 0%, 68.2%, 38.4%)
CIE-LABlab(60.52, -27.12, 50.14)
CIE-LCHlch(60.52, 57.01, 118.41°)
OKLaboklab(65.04% -0.0781 0.1136)
OKLCHoklch(65.04% 0.138 124.5)
XYZxyz(21.0903, 28.7040, 7.4463)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D32 #52329D
analogous
#9D8732 #7D9D32 #479D32
triadic
#7D9D32 #327D9D #9D327D
tetradic
#7D9D32 #329D87 #52329D #9D3247
square
#7D9D32 #329D87 #52329D #9D3247
split-complementary
#7D9D32 #32479D #87329D
monochromatic
#334014 #586F23 #7D9D32 #9FC548 #B7D376

Accessibility & contrast

On white

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

On black

6.74
#7D9D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9D32
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9D32#FFFFFF#000000##000000
##7D9D321.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9d32;
/* rgb */ color: rgb(125, 157, 50);
/* oklch */ color: oklch(65.0% 0.138 124.5);
Tailwind
colors: {
  custom: {
    50: '#a6ba70',
    500: '#7d9d32',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d32;
$custom-light: #a6ba70;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d32",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 50
  },
  "hsl": {
    "h": 77.944,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.65039,
    "c": 0.13787,
    "h": 124.5
  },
  "luminance": 0.28704
}

Semantic roles & 50–950 ramp

primary
#7D9D32
secondary
#866FBC
accent
#4DDB77
background
#FAFBF7
surface
#F4F6ED
border
#CED0C8
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9D32

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

Preview Lab → · Contrast checker → · Palette generator →

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