#7E9652#7E9652

#7E9652 is a light, moderate yellow-green. Relative luminance 0.269; OKLCH L 63.8% C 0.097 H 125.0°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#7E9652
RGBrgb(126, 150, 82)
HSLhsl(81, 29%, 45%)
HSVhsv(81, 45%, 59%)
CMYKcmyk(16%, 0%, 45.3%, 41.2%)
CIE-LABlab(58.84, -20.16, 33.00)
CIE-LCHlch(58.84, 38.67, 121.43°)
OKLaboklab(63.82% -0.0559 0.0799)
OKLCHoklch(63.82% 0.097 125)
XYZxyz(21.0334, 26.8574, 12.0569)
Luminance0.2686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9652 #6A5296
analogous
#968C52 #7E9652 #5C9652
triadic
#7E9652 #527E96 #96527E
tetradic
#7E9652 #52968C #6A5296 #96525C
square
#7E9652 #52968C #6A5296 #96525C
split-complementary
#7E9652 #525C96 #8C5296
monochromatic
#3C4727 #5D6E3C #7E9652 #9CB273 #B8C89A

Accessibility & contrast

On white

3.30
#7E9652 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#7E9652 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9652
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9652#FFFFFF#000000##000000
##7E96521.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8E4D
Deuteranopia (green-blind)
#998D56
Tritanopia (blue-blind)
#829086
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #7e9652;
/* rgb */ color: rgb(126, 150, 82);
/* oklch */ color: oklch(63.8% 0.097 125.0);
Tailwind
colors: {
  custom: {
    50: '#a4b584',
    500: '#7e9652',
    950: '#000000',
  },
}
SCSS
$custom: #7e9652;
$custom-light: #a4b584;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9652",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 82
  },
  "hsl": {
    "h": 81.176,
    "s": 29.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.63816,
    "c": 0.09748,
    "h": 125
  },
  "luminance": 0.26858
}

Semantic roles & 50–950 ramp

primary
#7E9652
secondary
#9C8FB5
accent
#62C685
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7E9652

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

Preview Lab → · Contrast checker → · Palette generator →

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