#7D9947#7D9947

#7D9947 is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.3% C 0.114 H 125.1°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7D9947
RGBrgb(125, 153, 71)
HSLhsl(80, 37%, 44%)
HSVhsv(80, 54%, 60%)
CMYKcmyk(18.3%, 0%, 53.6%, 40%)
CIE-LABlab(59.52, -23.33, 39.44)
CIE-LCHlch(59.52, 45.82, 120.60°)
OKLaboklab(64.3% -0.0656 0.0933)
OKLCHoklch(64.3% 0.114 125.1)
XYZxyz(20.9860, 27.5972, 10.1812)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9947 #634799
analogous
#998C47 #7D9947 #549947
triadic
#7D9947 #477D99 #99477D
tetradic
#7D9947 #47998C #634799 #994754
square
#7D9947 #47998C #634799 #994754
split-complementary
#7D9947 #475499 #8C4799
monochromatic
#394520 #5B6F34 #7D9947 #9CB865 #B7CB8F

Accessibility & contrast

On white

3.22
#7D9947 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7D9947 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9947
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9947#FFFFFF#000000##000000
##7D99471.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0903F
Deuteranopia (green-blind)
#9D8F4C
Tritanopia (blue-blind)
#829387
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7d9947;
/* rgb */ color: rgb(125, 153, 71);
/* oklch */ color: oklch(64.3% 0.114 125.1);
Tailwind
colors: {
  custom: {
    50: '#a4b77c',
    500: '#7d9947',
    950: '#000000',
  },
}
SCSS
$custom: #7d9947;
$custom-light: #a4b77c;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9947",
  "rgb": {
    "r": 125,
    "g": 153,
    "b": 71
  },
  "hsl": {
    "h": 80.488,
    "s": 36.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.643,
    "c": 0.11404,
    "h": 125.1
  },
  "luminance": 0.27597
}

Semantic roles & 50–950 ramp

primary
#7D9947
secondary
#9685B7
accent
#5BCD82
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7D9947

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

Preview Lab → · Contrast checker → · Palette generator →

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