#7E9954#7E9954

#7E9954 is a light, moderate yellow-green. Relative luminance 0.279; OKLCH L 64.6% C 0.100 H 126.5°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#7E9954
RGBrgb(126, 153, 84)
HSLhsl(83, 29%, 46%)
HSVhsv(83, 45%, 60%)
CMYKcmyk(17.6%, 0%, 45.1%, 40%)
CIE-LABlab(59.76, -21.45, 33.09)
CIE-LCHlch(59.76, 39.44, 122.95°)
OKLaboklab(64.56% -0.0594 0.0802)
OKLCHoklch(64.56% 0.1 126.5)
XYZxyz(21.5955, 27.8580, 12.6252)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9954 #6F5499
analogous
#999254 #7E9954 #5C9954
triadic
#7E9954 #547E99 #99547E
tetradic
#7E9954 #549992 #6F5499 #99545C
square
#7E9954 #549992 #6F5499 #99545C
split-complementary
#7E9954 #545C99 #925499
monochromatic
#3D4A29 #5D713E #7E9954 #9CB476 #B8CA9E

Accessibility & contrast

On white

3.20
#7E9954 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#7E9954 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9954
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9954#FFFFFF#000000##000000
##7E99541.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F914E
Deuteranopia (green-blind)
#9C9058
Tritanopia (blue-blind)
#829388
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #7e9954;
/* rgb */ color: rgb(126, 153, 84);
/* oklch */ color: oklch(64.6% 0.100 126.5);
Tailwind
colors: {
  custom: {
    50: '#a4b785',
    500: '#7e9954',
    950: '#000000',
  },
}
SCSS
$custom: #7e9954;
$custom-light: #a4b785;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9954",
  "rgb": {
    "r": 126,
    "g": 153,
    "b": 84
  },
  "hsl": {
    "h": 83.478,
    "s": 29.114,
    "l": 46.471
  },
  "oklch": {
    "l": 0.64563,
    "c": 0.09978,
    "h": 126.5
  },
  "luminance": 0.27858
}

Semantic roles & 50–950 ramp

primary
#7E9954
secondary
#A092B7
accent
#62C589
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7E9954

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

Preview Lab → · Contrast checker → · Palette generator →

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