#7E9D4F#7E9D4F

#7E9D4F is a light, moderate yellow-green. Relative luminance 0.291; OKLCH L 65.4% C 0.111 H 127.1°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#7E9D4F
RGBrgb(126, 157, 79)
HSLhsl(84, 33%, 46%)
HSVhsv(84, 50%, 62%)
CMYKcmyk(19.7%, 0%, 49.7%, 38.4%)
CIE-LABlab(60.88, -24.06, 37.06)
CIE-LCHlch(60.88, 44.18, 122.99°)
OKLaboklab(65.44% -0.067 0.0887)
OKLCHoklch(65.44% 0.111 127.1)
XYZxyz(22.0723, 29.1138, 11.8523)
Luminance0.2911 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9D4F #6E4F9D
analogous
#9D954F #7E9D4F #579D4F
triadic
#7E9D4F #4F7E9D #9D4F7E
tetradic
#7E9D4F #4F9D95 #6E4F9D #9D4F57
square
#7E9D4F #4F9D95 #6E4F9D #9D4F57
split-complementary
#7E9D4F #4F579D #954F9D
monochromatic
#3D4C26 #5D743B #7E9D4F #9CB871 #B8CC9A

Accessibility & contrast

On white

3.08
#7E9D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#7E9D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9D4F
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9D4F#FFFFFF#000000##000000
##7E9D4F1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49448
Deuteranopia (green-blind)
#9F9254
Tritanopia (blue-blind)
#82978B
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #7e9d4f;
/* rgb */ color: rgb(126, 157, 79);
/* oklch */ color: oklch(65.4% 0.111 127.1);
Tailwind
colors: {
  custom: {
    50: '#a5ba82',
    500: '#7e9d4f',
    950: '#000000',
  },
}
SCSS
$custom: #7e9d4f;
$custom-light: #a5ba82;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9d4f",
  "rgb": {
    "r": 126,
    "g": 157,
    "b": 79
  },
  "hsl": {
    "h": 83.846,
    "s": 33.051,
    "l": 46.275
  },
  "oklch": {
    "l": 0.65444,
    "c": 0.11119,
    "h": 127.1
  },
  "luminance": 0.29114
}

Semantic roles & 50–950 ramp

primary
#7E9D4F
secondary
#A08FB9
accent
#5FC989
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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