#7E9648#7E9648

#7E9648 is a light, moderate yellow-green. Relative luminance 0.267; OKLCH L 63.7% C 0.108 H 123.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#7E9648
RGBrgb(126, 150, 72)
HSLhsl(78, 35%, 44%)
HSVhsv(78, 52%, 59%)
CMYKcmyk(16%, 0%, 52%, 41.2%)
CIE-LABlab(58.71, -21.30, 37.99)
CIE-LCHlch(58.71, 43.55, 119.28°)
OKLaboklab(63.67% -0.0599 0.0902)
OKLCHoklch(63.67% 0.108 123.6)
XYZxyz(20.6803, 26.7161, 10.1969)
Luminance0.2672 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9648 #604896
analogous
#968748 #7E9648 #579648
triadic
#7E9648 #487E96 #96487E
tetradic
#7E9648 #489687 #604896 #964857
square
#7E9648 #489687 #604896 #964857
split-complementary
#7E9648 #485796 #874896
monochromatic
#394320 #5B6D34 #7E9648 #9DB566 #B7C98F

Accessibility & contrast

On white

3.31
#7E9648 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#7E9648 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9648
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9648#FFFFFF#000000##000000
##7E96481.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8E41
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#839084
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #7e9648;
/* rgb */ color: rgb(126, 150, 72);
/* oklch */ color: oklch(63.7% 0.108 123.6);
Tailwind
colors: {
  custom: {
    50: '#a5b57d',
    500: '#7e9648',
    950: '#000000',
  },
}
SCSS
$custom: #7e9648;
$custom-light: #a5b57d;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9648",
  "rgb": {
    "r": 126,
    "g": 150,
    "b": 72
  },
  "hsl": {
    "h": 78.462,
    "s": 35.135,
    "l": 43.529
  },
  "oklch": {
    "l": 0.63668,
    "c": 0.10828,
    "h": 123.6
  },
  "luminance": 0.26716
}

Semantic roles & 50–950 ramp

primary
#7E9648
secondary
#9485B5
accent
#5DCB7F
background
#FAFBF7
surface
#F4F6EE
border
#CED0C9
text
#0F110A
muted
#7F807C

Preview Lab

Preview with #7E9648

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

Preview Lab → · Contrast checker → · Palette generator →

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