#7E9752#7E9752

#7E9752 is a light, moderate yellow-green. Relative luminance 0.272; OKLCH L 64.1% C 0.099 H 125.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#7E9752
RGBrgb(126, 151, 82)
HSLhsl(82, 30%, 46%)
HSVhsv(82, 46%, 59%)
CMYKcmyk(16.6%, 0%, 45.7%, 40.8%)
CIE-LABlab(59.14, -20.68, 33.37)
CIE-LCHlch(59.14, 39.25, 121.78°)
OKLaboklab(64.05% -0.0573 0.0807)
OKLCHoklch(64.05% 0.099 125.4)
XYZxyz(21.1937, 27.1779, 12.1103)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9752 #6B5297
analogous
#978D52 #7E9752 #5B9752
triadic
#7E9752 #527E97 #97527E
tetradic
#7E9752 #52978D #6B5297 #97525B
square
#7E9752 #52978D #6B5297 #97525B
split-complementary
#7E9752 #525B97 #8D5297
monochromatic
#3C4827 #5D6F3C #7E9752 #9CB373 #B8C99B

Accessibility & contrast

On white

3.26
#7E9752 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#7E9752 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9752
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9752#FFFFFF#000000##000000
##7E97521.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F4C
Deuteranopia (green-blind)
#9A8E56
Tritanopia (blue-blind)
#829187
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9752;
/* rgb */ color: rgb(126, 151, 82);
/* oklch */ color: oklch(64.1% 0.099 125.4);
Tailwind
colors: {
  custom: {
    50: '#a4b584',
    500: '#7e9752',
    950: '#000000',
  },
}
SCSS
$custom: #7e9752;
$custom-light: #a4b584;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9752",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 82
  },
  "hsl": {
    "h": 81.739,
    "s": 29.614,
    "l": 45.686
  },
  "oklch": {
    "l": 0.64055,
    "c": 0.09899,
    "h": 125.4
  },
  "luminance": 0.27178
}

Semantic roles & 50–950 ramp

primary
#7E9752
secondary
#9D8FB6
accent
#62C686
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7E9752

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

Preview Lab → · Contrast checker → · Palette generator →

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