#7E9750#7E9750

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

Color values

HEX#7E9750
RGBrgb(126, 151, 80)
HSLhsl(81, 31%, 45%)
HSVhsv(81, 47%, 59%)
CMYKcmyk(16.6%, 0%, 47%, 40.8%)
CIE-LABlab(59.11, -20.91, 34.38)
CIE-LCHlch(59.11, 40.24, 121.32°)
OKLaboklab(64.02% -0.0582 0.0828)
OKLCHoklch(64.02% 0.101 125.1)
XYZxyz(21.1187, 27.1479, 11.7153)
Luminance0.2715 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9750 #695097
analogous
#978C50 #7E9750 #5A9750
triadic
#7E9750 #507E97 #97507E
tetradic
#7E9750 #50978C #695097 #97505A
square
#7E9750 #50978C #695097 #97505A
split-complementary
#7E9750 #505A97 #8C5097
monochromatic
#3B4726 #5D6F3B #7E9750 #9CB471 #B8C999

Accessibility & contrast

On white

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

On black

6.43
#7E9750 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9750
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9750#FFFFFF#000000##000000
##7E97501.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8F4A
Deuteranopia (green-blind)
#9A8E54
Tritanopia (blue-blind)
#829186
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9750;
/* rgb */ color: rgb(126, 151, 80);
/* oklch */ color: oklch(64.0% 0.101 125.1);
Tailwind
colors: {
  custom: {
    50: '#a5b582',
    500: '#7e9750',
    950: '#000000',
  },
}
SCSS
$custom: #7e9750;
$custom-light: #a5b582;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9750",
  "rgb": {
    "r": 126,
    "g": 151,
    "b": 80
  },
  "hsl": {
    "h": 81.127,
    "s": 30.736,
    "l": 45.294
  },
  "oklch": {
    "l": 0.64023,
    "c": 0.1012,
    "h": 125.1
  },
  "luminance": 0.27148
}

Semantic roles & 50–950 ramp

primary
#7E9750
secondary
#9B8DB6
accent
#61C785
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9750

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

Preview Lab → · Contrast checker → · Palette generator →

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