#7D9930#7D9930

#7D9930 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 64.1% C 0.134 H 123.1°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#7D9930
RGBrgb(125, 153, 48)
HSLhsl(76, 52%, 39%)
HSVhsv(76, 69%, 60%)
CMYKcmyk(18.3%, 0%, 68.6%, 40%)
CIE-LABlab(59.30, -25.30, 49.70)
CIE-LCHlch(59.30, 55.77, 116.98°)
OKLaboklab(64.05% -0.0733 0.1124)
OKLCHoklch(64.05% 0.134 123.1)
XYZxyz(20.3824, 27.3557, 7.0021)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9930 #4C3099
analogous
#998130 #7D9930 #499930
triadic
#7D9930 #307D99 #99307D
tetradic
#7D9930 #309981 #4C3099 #993049
square
#7D9930 #309981 #4C3099 #993049
split-complementary
#7D9930 #304999 #813099
monochromatic
#313C13 #576A21 #7D9930 #A1C442 #B8D271

Accessibility & contrast

On white

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

On black

6.47
#7D9930 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9930
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9930#FFFFFF#000000##000000
##7D99301.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#839184
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9930;
/* rgb */ color: rgb(125, 153, 48);
/* oklch */ color: oklch(64.1% 0.134 123.1);
Tailwind
colors: {
  custom: {
    50: '#a5b76e',
    500: '#7d9930',
    950: '#000000',
  },
}
SCSS
$custom: #7d9930;
$custom-light: #a5b76e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9930",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 48
  },
  "hsl": {
    "h": 76,
    "s": 52.239,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64051,
    "c": 0.13416,
    "h": 123.1
  },
  "luminance": 0.27356
}

Semantic roles & 50–950 ramp

primary
#7D9930
secondary
#806BBA
accent
#4CDC72
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9930

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

Preview Lab → · Contrast checker → · Palette generator →

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