#7D9D30#7D9D30

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

Color values

HEX#7D9D30
RGBrgb(125, 157, 48)
HSLhsl(78, 53%, 40%)
HSVhsv(78, 69%, 62%)
CMYKcmyk(20.4%, 0%, 69.4%, 38.4%)
CIE-LABlab(60.50, -27.26, 50.94)
CIE-LCHlch(60.50, 57.77, 118.15°)
OKLaboklab(65.02% -0.0787 0.115)
OKLCHoklch(65.02% 0.139 124.4)
XYZxyz(21.0481, 28.6871, 7.2240)
Luminance0.2869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9D30 #50309D
analogous
#9D8730 #7D9D30 #469D30
triadic
#7D9D30 #307D9D #9D307D
tetradic
#7D9D30 #309D87 #50309D #9D3046
square
#7D9D30 #309D87 #50309D #9D3046
split-complementary
#7D9D30 #30469D #87309D
monochromatic
#323F13 #586E22 #7D9D30 #A0C644 #B8D473

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9D30#FFFFFF#000000##000000
##7D9D301.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)
#A69320
Deuteranopia (green-blind)
#A19239
Tritanopia (blue-blind)
#839587
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7d9d30;
/* rgb */ color: rgb(125, 157, 48);
/* oklch */ color: oklch(65.0% 0.139 124.4);
Tailwind
colors: {
  custom: {
    50: '#a6ba6f',
    500: '#7d9d30',
    950: '#000000',
  },
}
SCSS
$custom: #7d9d30;
$custom-light: #a6ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9d30",
  "rgb": {
    "r": 125,
    "g": 157,
    "b": 48
  },
  "hsl": {
    "h": 77.615,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.65022,
    "c": 0.13932,
    "h": 124.4
  },
  "luminance": 0.28687
}

Semantic roles & 50–950 ramp

primary
#7D9D30
secondary
#846DBC
accent
#4BDD76
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9D30

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

Preview Lab → · Contrast checker → · Palette generator →

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