#7D9730#7D9730

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

Color values

HEX#7D9730
RGBrgb(125, 151, 48)
HSLhsl(75, 52%, 39%)
HSVhsv(75, 68%, 59%)
CMYKcmyk(17.2%, 0%, 68.2%, 40.8%)
CIE-LABlab(58.70, -24.31, 49.08)
CIE-LCHlch(58.70, 54.77, 116.35°)
OKLaboklab(63.57% -0.0706 0.1111)
OKLCHoklch(63.57% 0.132 122.4)
XYZxyz(20.0578, 26.7065, 6.8939)
Luminance0.2671 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9730 #4A3097
analogous
#977E30 #7D9730 #4A9730
triadic
#7D9730 #307D97 #97307D
tetradic
#7D9730 #30977E #4A3097 #97304A
square
#7D9730 #30977E #4A3097 #97304A
split-complementary
#7D9730 #304A97 #7E3097
monochromatic
#303A12 #576921 #7D9730 #A2C341 #B9D270

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9730#FFFFFF#000000##000000
##7D97301.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)
#A08E21
Deuteranopia (green-blind)
#9D8D38
Tritanopia (blue-blind)
#838F82
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7d9730;
/* rgb */ color: rgb(125, 151, 48);
/* oklch */ color: oklch(63.6% 0.132 122.4);
Tailwind
colors: {
  custom: {
    50: '#a5b56e',
    500: '#7d9730',
    950: '#000000',
  },
}
SCSS
$custom: #7d9730;
$custom-light: #a5b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9730",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 48
  },
  "hsl": {
    "h": 75.146,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63567,
    "c": 0.13158,
    "h": 122.4
  },
  "luminance": 0.26707
}

Semantic roles & 50–950 ramp

primary
#7D9730
secondary
#7E6AB9
accent
#4DDB71
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101107
muted
#7F807A

Preview Lab

Preview with #7D9730

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

Preview Lab → · Contrast checker → · Palette generator →

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