#7F9155#7F9155

#7F9155 is a light, moderate yellow-green. Relative luminance 0.254; OKLCH L 62.8% C 0.086 H 122.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#7F9155
RGBrgb(127, 145, 85)
HSLhsl(78, 26%, 45%)
HSVhsv(78, 41%, 57%)
CMYKcmyk(12.4%, 0%, 41.4%, 43.1%)
CIE-LABlab(57.48, -16.79, 29.70)
CIE-LCHlch(57.48, 34.12, 119.48°)
OKLaboklab(62.76% -0.0463 0.0726)
OKLCHoklch(62.76% 0.086 122.5)
XYZxyz(20.5174, 25.4187, 12.4180)
Luminance0.2542 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9155 #675591
analogous
#918555 #7F9155 #619155
triadic
#7F9155 #557F91 #91557F
tetradic
#7F9155 #559185 #675591 #915561
square
#7F9155 #559185 #675591 #915561
split-complementary
#7F9155 #556191 #855591
monochromatic
#3B4428 #5D6A3E #7F9155 #9DAE75 #B8C59C

Accessibility & contrast

On white

3.45
#7F9155 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#7F9155 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9155
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9155#FFFFFF#000000##000000
##7F91551.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7f9155;
/* rgb */ color: rgb(127, 145, 85);
/* oklch */ color: oklch(62.8% 0.086 122.5);
Tailwind
colors: {
  custom: {
    50: '#a5b186',
    500: '#7f9155',
    950: '#000000',
  },
}
SCSS
$custom: #7f9155;
$custom-light: #a5b186;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9155",
  "rgb": {
    "r": 127,
    "g": 145,
    "b": 85
  },
  "hsl": {
    "h": 78,
    "s": 26.087,
    "l": 45.098
  },
  "oklch": {
    "l": 0.62758,
    "c": 0.08604,
    "h": 122.5
  },
  "luminance": 0.25419
}

Semantic roles & 50–950 ramp

primary
#7F9155
secondary
#9A90B2
accent
#65C281
background
#FAFAF8
surface
#F4F5EF
border
#CECFCA
text
#0F100B
muted
#7F7F7C

Preview Lab

Preview with #7F9155

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

Preview Lab → · Contrast checker → · Palette generator →

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