#7E9858#7E9858

#7E9858 is a light, moderate yellow-green. Relative luminance 0.276; OKLCH L 64.4% C 0.094 H 126.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#7E9858
RGBrgb(126, 152, 88)
HSLhsl(84, 27%, 47%)
HSVhsv(84, 42%, 60%)
CMYKcmyk(17.1%, 0%, 42.1%, 40.4%)
CIE-LABlab(59.52, -20.43, 30.68)
CIE-LCHlch(59.52, 36.86, 123.66°)
OKLaboklab(64.39% -0.0563 0.0749)
OKLCHoklch(64.39% 0.094 126.9)
XYZxyz(21.5937, 27.5964, 13.4196)
Luminance0.2760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9858 #725898
analogous
#989258 #7E9858 #5E9858
triadic
#7E9858 #587E98 #98587E
tetradic
#7E9858 #589892 #725898 #98585E
square
#7E9858 #589892 #725898 #98585E
split-complementary
#7E9858 #585E98 #925898
monochromatic
#3E4A2B #5E7142 #7E9858 #9CB27B #B9C9A2

Accessibility & contrast

On white

3.22
#7E9858 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#7E9858 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9858
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9858#FFFFFF#000000##000000
##7E98581.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E9053
Deuteranopia (green-blind)
#9A8F5B
Tritanopia (blue-blind)
#819388
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #7e9858;
/* rgb */ color: rgb(126, 152, 88);
/* oklch */ color: oklch(64.4% 0.094 126.9);
Tailwind
colors: {
  custom: {
    50: '#a4b688',
    500: '#7e9858',
    950: '#000000',
  },
}
SCSS
$custom: #7e9858;
$custom-light: #a4b688;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9858",
  "rgb": {
    "r": 126,
    "g": 152,
    "b": 88
  },
  "hsl": {
    "h": 84.375,
    "s": 26.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.64391,
    "c": 0.09371,
    "h": 126.9
  },
  "luminance": 0.27597
}

Semantic roles & 50–950 ramp

primary
#7E9858
secondary
#A395B7
accent
#65C38B
background
#FAFBF8
surface
#F4F6F0
border
#CED0CB
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7E9858

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

Preview Lab → · Contrast checker → · Palette generator →

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