#7F9A55#7F9A55

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

Color values

HEX#7F9A55
RGBrgb(127, 154, 85)
HSLhsl(83, 29%, 47%)
HSVhsv(83, 45%, 60%)
CMYKcmyk(17.5%, 0%, 44.8%, 39.6%)
CIE-LABlab(60.14, -21.44, 33.06)
CIE-LCHlch(60.14, 39.40, 122.96°)
OKLaboklab(64.89% -0.0593 0.0802)
OKLCHoklch(64.89% 0.1 126.5)
XYZxyz(21.9475, 28.2789, 12.8947)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7F9A55 #70559A
analogous
#9A9355 #7F9A55 #5D9A55
triadic
#7F9A55 #557F9A #9A557F
tetradic
#7F9A55 #559A93 #70559A #9A555D
square
#7F9A55 #559A93 #70559A #9A555D
split-complementary
#7F9A55 #555D9A #93559A
monochromatic
#3E4B29 #5E733F #7F9A55 #9DB478 #B9CA9F

Accessibility & contrast

On white

3.16
#7F9A55 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#7F9A55 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #7F9A55
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7F9A55#FFFFFF#000000##000000
##7F9A551.003.166.666.66
#FFFFFF3.161.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0924F
Deuteranopia (green-blind)
#9D9159
Tritanopia (blue-blind)
#839489
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #7f9a55;
/* rgb */ color: rgb(127, 154, 85);
/* oklch */ color: oklch(64.9% 0.100 126.5);
Tailwind
colors: {
  custom: {
    50: '#a5b786',
    500: '#7f9a55',
    950: '#000000',
  },
}
SCSS
$custom: #7f9a55;
$custom-light: #a5b786;
$custom-dark: #000000;
JSON
{
  "hex": "#7f9a55",
  "rgb": {
    "r": 127,
    "g": 154,
    "b": 85
  },
  "hsl": {
    "h": 83.478,
    "s": 28.87,
    "l": 46.863
  },
  "oklch": {
    "l": 0.64891,
    "c": 0.09972,
    "h": 126.5
  },
  "luminance": 0.28279
}

Semantic roles & 50–950 ramp

primary
#7F9A55
secondary
#A193B8
accent
#63C589
background
#FAFBF8
surface
#F4F6EF
border
#CED0CA
text
#0F110B
muted
#7F807C

Preview Lab

Preview with #7F9A55

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

Preview Lab → · Contrast checker → · Palette generator →

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