#7D9751#7D9751

#7D9751 is a light, moderate yellow-green. Relative luminance 0.271; OKLCH L 64.0% C 0.101 H 125.8°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#7D9751
RGBrgb(125, 151, 81)
HSLhsl(82, 30%, 45%)
HSVhsv(82, 46%, 59%)
CMYKcmyk(17.2%, 0%, 46.4%, 40.8%)
CIE-LABlab(59.05, -21.20, 33.77)
CIE-LCHlch(59.05, 39.87, 122.12°)
OKLaboklab(63.97% -0.0588 0.0815)
OKLCHoklch(63.97% 0.101 125.8)
XYZxyz(21.0092, 27.0871, 11.9045)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7D9751 #6B5197
analogous
#978E51 #7D9751 #5A9751
triadic
#7D9751 #517D97 #97517D
tetradic
#7D9751 #51978E #6B5197 #97515A
square
#7D9751 #51978E #6B5197 #97515A
split-complementary
#7D9751 #515A97 #8E5197
monochromatic
#3B4726 #5C6F3C #7D9751 #9BB372 #B7C99A

Accessibility & contrast

On white

3.27
#7D9751 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#7D9751 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7D9751
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7D9751#FFFFFF#000000##000000
##7D97511.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F4B
Deuteranopia (green-blind)
#9A8E55
Tritanopia (blue-blind)
#819186
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7d9751;
/* rgb */ color: rgb(125, 151, 81);
/* oklch */ color: oklch(64.0% 0.101 125.8);
Tailwind
colors: {
  custom: {
    50: '#a4b583',
    500: '#7d9751',
    950: '#000000',
  },
}
SCSS
$custom: #7d9751;
$custom-light: #a4b583;
$custom-dark: #000000;
JSON
{
  "hex": "#7d9751",
  "rgb": {
    "r": 125,
    "g": 151,
    "b": 81
  },
  "hsl": {
    "h": 82.286,
    "s": 30.172,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63965,
    "c": 0.10054,
    "h": 125.8
  },
  "luminance": 0.27087
}

Semantic roles & 50–950 ramp

primary
#7D9751
secondary
#9D8EB6
accent
#61C687
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7D9751

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

Preview Lab → · Contrast checker → · Palette generator →

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