#7E8F58#7E8F58

#7E8F58 is a light, moderate yellow-green. Relative luminance 0.248; OKLCH L 62.3% C 0.080 H 122.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#7E8F58
RGBrgb(126, 143, 88)
HSLhsl(79, 24%, 45%)
HSVhsv(79, 38%, 56%)
CMYKcmyk(11.9%, 0%, 38.5%, 43.9%)
CIE-LABlab(56.87, -15.75, 27.27)
CIE-LCHlch(56.87, 31.49, 120.01°)
OKLaboklab(62.26% -0.0431 0.0671)
OKLCHoklch(62.26% 0.08 122.7)
XYZxyz(20.1880, 24.7851, 12.9511)
Luminance0.2478 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E8F58 #69588F
analogous
#8F8458 #7E8F58 #628F58
triadic
#7E8F58 #587E8F #8F587E
tetradic
#7E8F58 #588F84 #69588F #8F5862
square
#7E8F58 #588F84 #69588F #8F5862
split-complementary
#7E8F58 #58628F #84588F
monochromatic
#3B4329 #5D6941 #7E8F58 #9CAC78 #B8C39E

Accessibility & contrast

On white

3.53
#7E8F58 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#7E8F58 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E8F58
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E8F58#FFFFFF#000000##000000
##7E8F581.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958954
Deuteranopia (green-blind)
#93885B
Tritanopia (blue-blind)
#828A81
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #7e8f58;
/* rgb */ color: rgb(126, 143, 88);
/* oklch */ color: oklch(62.3% 0.080 122.7);
Tailwind
colors: {
  custom: {
    50: '#a4af88',
    500: '#7e8f58',
    950: '#000000',
  },
}
SCSS
$custom: #7e8f58;
$custom-light: #a4af88;
$custom-dark: #000000;
JSON
{
  "hex": "#7e8f58",
  "rgb": {
    "r": 126,
    "g": 143,
    "b": 88
  },
  "hsl": {
    "h": 78.545,
    "s": 23.81,
    "l": 45.294
  },
  "oklch": {
    "l": 0.62261,
    "c": 0.07977,
    "h": 122.7
  },
  "luminance": 0.24785
}

Semantic roles & 50–950 ramp

primary
#7E8F58
secondary
#9B92B1
accent
#68C083
background
#FAFAF8
surface
#F4F4EF
border
#CECECA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7E8F58

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

Preview Lab → · Contrast checker → · Palette generator →

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