#7E9952#7E9952

#7E9952 is a light, moderate yellow-green. Relative luminance 0.278; OKLCH L 64.5% C 0.102 H 126.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7E9952
RGBrgb(126, 153, 82)
HSLhsl(83, 30%, 46%)
HSVhsv(83, 46%, 60%)
CMYKcmyk(17.6%, 0%, 46.4%, 40%)
CIE-LABlab(59.73, -21.69, 34.10)
CIE-LCHlch(59.73, 40.42, 122.46°)
OKLaboklab(64.53% -0.0602 0.0823)
OKLCHoklch(64.53% 0.102 126.2)
XYZxyz(21.5183, 27.8271, 12.2185)
Luminance0.2783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9952 #6D5299
analogous
#999052 #7E9952 #5A9952
triadic
#7E9952 #527E99 #99527E
tetradic
#7E9952 #529990 #6D5299 #99525A
square
#7E9952 #529990 #6D5299 #99525A
split-complementary
#7E9952 #525A99 #905299
monochromatic
#3C4927 #5D713D #7E9952 #9CB474 #B8CA9C

Accessibility & contrast

On white

3.20
#7E9952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7E9952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9952
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9952#FFFFFF#000000##000000
##7E99521.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0914C
Deuteranopia (green-blind)
#9C8F56
Tritanopia (blue-blind)
#829388
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9952;
/* rgb */ color: rgb(126, 153, 82);
/* oklch */ color: oklch(64.5% 0.102 126.2);
Tailwind
colors: {
  custom: {
    50: '#a5b784',
    500: '#7e9952',
    950: '#000000',
  },
}
SCSS
$custom: #7e9952;
$custom-light: #a5b784;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9952",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 82
  },
  "hsl": {
    "h": 82.817,
    "s": 30.213,
    "l": 46.078
  },
  "oklch": {
    "l": 0.64532,
    "c": 0.102,
    "h": 126.2
  },
  "luminance": 0.27827
}

Semantic roles & 50–950 ramp

primary
#7E9952
secondary
#9F90B7
accent
#61C688
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7E9952

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

Preview Lab → · Contrast checker → · Palette generator →

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