#7D9931#7D9931

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

Color values

HEX#7D9931
RGBrgb(125, 153, 49)
HSLhsl(76, 51%, 40%)
HSVhsv(76, 68%, 60%)
CMYKcmyk(18.3%, 0%, 68%, 40%)
CIE-LABlab(59.31, -25.23, 49.30)
CIE-LCHlch(59.31, 55.38, 117.10°)
OKLaboklab(64.06% -0.073 0.1117)
OKLCHoklch(64.06% 0.133 123.2)
XYZxyz(20.4033, 27.3641, 7.1120)
Luminance0.2736 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9931 #4D3199
analogous
#998131 #7D9931 #499931
triadic
#7D9931 #317D99 #99317D
tetradic
#7D9931 #319981 #4D3199 #993149
square
#7D9931 #319981 #4D3199 #993149
split-complementary
#7D9931 #314999 #813199
monochromatic
#313C13 #576B22 #7D9931 #A1C344 #B8D272

Accessibility & contrast

On white

3.24
#7D9931 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##7D9931#FFFFFF#000000##000000
##7D99311.003.246.476.47
#FFFFFF3.241.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7d9931;
/* rgb */ color: rgb(125, 153, 49);
/* oklch */ color: oklch(64.1% 0.133 123.2);
Tailwind
colors: {
  custom: {
    50: '#a5b76f',
    500: '#7d9931',
    950: '#000000',
  },
}
SCSS
$custom: #7d9931;
$custom-light: #a5b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9931",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 49
  },
  "hsl": {
    "h": 76.154,
    "s": 51.485,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6406,
    "c": 0.13342,
    "h": 123.2
  },
  "luminance": 0.27364
}

Semantic roles & 50–950 ramp

primary
#7D9931
secondary
#816CBA
accent
#4DDB73
background
#FAFBF6
surface
#F4F6EC
border
#CED0C7
text
#101108
muted
#7F807B

Preview Lab

Preview with #7D9931

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

Preview Lab → · Contrast checker → · Palette generator →

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