#7E9C48#7E9C48

#7E9C48 is a light, moderate yellow-green. Relative luminance 0.287; OKLCH L 65.1% C 0.117 H 125.8°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#7E9C48
RGBrgb(126, 156, 72)
HSLhsl(81, 37%, 45%)
HSVhsv(81, 54%, 61%)
CMYKcmyk(19.2%, 0%, 53.8%, 38.8%)
CIE-LABlab(60.50, -24.32, 40.11)
CIE-LCHlch(60.50, 46.90, 121.23°)
OKLaboklab(65.11% -0.0684 0.0948)
OKLCHoklch(65.11% 0.117 125.8)
XYZxyz(21.6623, 28.6802, 10.5242)
Luminance0.2868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9C48 #66489C
analogous
#9C9048 #7E9C48 #549C48
triadic
#7E9C48 #487E9C #9C487E
tetradic
#7E9C48 #489C90 #66489C #9C4854
square
#7E9C48 #489C90 #66489C #9C4854
split-complementary
#7E9C48 #48549C #90489C
monochromatic
#3A4821 #5C7235 #7E9C48 #9CB968 #B8CD92

Accessibility & contrast

On white

3.12
#7E9C48 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#7E9C48 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9C48
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9C48#FFFFFF#000000##000000
##7E9C481.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39340
Deuteranopia (green-blind)
#9F914D
Tritanopia (blue-blind)
#829589
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #7e9c48;
/* rgb */ color: rgb(126, 156, 72);
/* oklch */ color: oklch(65.1% 0.117 125.8);
Tailwind
colors: {
  custom: {
    50: '#a5b97d',
    500: '#7e9c48',
    950: '#000000',
  },
}
SCSS
$custom: #7e9c48;
$custom-light: #a5b97d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9c48",
  "rgb": {
    "r": 126,
    "g": 156,
    "b": 72
  },
  "hsl": {
    "h": 81.429,
    "s": 36.842,
    "l": 44.706
  },
  "oklch": {
    "l": 0.65108,
    "c": 0.11689,
    "h": 125.8
  },
  "luminance": 0.2868
}

Semantic roles & 50–950 ramp

primary
#7E9C48
secondary
#9987B8
accent
#5BCD84
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9C48

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

Preview Lab → · Contrast checker → · Palette generator →

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