#7E9155#7E9155

#7E9155 is a light, moderate yellow-green. Relative luminance 0.253; OKLCH L 62.7% C 0.086 H 123.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#7E9155
RGBrgb(126, 145, 85)
HSLhsl(79, 26%, 45%)
HSVhsv(79, 41%, 57%)
CMYKcmyk(13.1%, 0%, 41.4%, 43.1%)
CIE-LABlab(57.41, -17.20, 29.59)
CIE-LCHlch(57.41, 34.23, 120.16°)
OKLaboklab(62.68% -0.0474 0.0723)
OKLCHoklch(62.68% 0.086 123.2)
XYZxyz(20.3692, 25.3422, 12.4110)
Luminance0.2534 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7E9155 #685591
analogous
#918655 #7E9155 #609155
triadic
#7E9155 #557E91 #91557E
tetradic
#7E9155 #559186 #685591 #915560
square
#7E9155 #559186 #685591 #915560
split-complementary
#7E9155 #556091 #865591
monochromatic
#3B4428 #5C6A3E #7E9155 #9CAE75 #B8C59C

Accessibility & contrast

On white

3.46
#7E9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#7E9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7E9155
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7E9155#FFFFFF#000000##000000
##7E91551.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A50
Deuteranopia (green-blind)
#958A58
Tritanopia (blue-blind)
#828C82
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #7e9155;
/* rgb */ color: rgb(126, 145, 85);
/* oklch */ color: oklch(62.7% 0.086 123.2);
Tailwind
colors: {
  custom: {
    50: '#a4b186',
    500: '#7e9155',
    950: '#000000',
  },
}
SCSS
$custom: #7e9155;
$custom-light: #a4b186;
$custom-dark: #000000;
JSON
{
  "hex": "#7e9155",
  "rgb": {
    "r": 126,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 79,
    "s": 26.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6268,
    "c": 0.08644,
    "h": 123.2
  },
  "luminance": 0.25342
}

Semantic roles & 50–950 ramp

primary
#7E9155
secondary
#9B90B2
accent
#65C283
background
#FAFAF8
surface
#F4F5EF
border
#CECFCA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7E9155

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

Preview Lab → · Contrast checker → · Palette generator →

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