#7E9855#7E9855

#7E9855 is a light, moderate yellow-green. Relative luminance 0.275; OKLCH L 64.3% C 0.097 H 126.3°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#7E9855
RGBrgb(126, 152, 85)
HSLhsl(83, 28%, 46%)
HSVhsv(83, 44%, 60%)
CMYKcmyk(17.1%, 0%, 44.1%, 40.4%)
CIE-LABlab(59.48, -20.82, 32.21)
CIE-LCHlch(59.48, 38.36, 122.87°)
OKLaboklab(64.34% -0.0575 0.0783)
OKLCHoklch(64.34% 0.097 126.3)
XYZxyz(21.4720, 27.5478, 12.7786)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9855 #6F5598
analogous
#989155 #7E9855 #5D9855
triadic
#7E9855 #557E98 #98557E
tetradic
#7E9855 #559891 #6F5598 #98555D
square
#7E9855 #559891 #6F5598 #98555D
split-complementary
#7E9855 #555D98 #915598
monochromatic
#3D4A29 #5D713F #7E9855 #9CB377 #B8C99E

Accessibility & contrast

On white

3.23
#7E9855 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#7E9855 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9855
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9855#FFFFFF#000000##000000
##7E98551.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9050
Deuteranopia (green-blind)
#9B8F59
Tritanopia (blue-blind)
#829288
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9855;
/* rgb */ color: rgb(126, 152, 85);
/* oklch */ color: oklch(64.3% 0.097 126.3);
Tailwind
colors: {
  custom: {
    50: '#a4b686',
    500: '#7e9855',
    950: '#000000',
  },
}
SCSS
$custom: #7e9855;
$custom-light: #a4b686;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9855",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 85
  },
  "hsl": {
    "h": 83.284,
    "s": 28.27,
    "l": 46.471
  },
  "oklch": {
    "l": 0.64341,
    "c": 0.09714,
    "h": 126.3
  },
  "luminance": 0.27548
}

Semantic roles & 50–950 ramp

primary
#7E9855
secondary
#A092B6
accent
#63C589
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7E9855

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

Preview Lab → · Contrast checker → · Palette generator →

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