#7FA552#7FA552

#7FA552 is a light, moderate yellow-green. Relative luminance 0.320; OKLCH L 67.5% C 0.119 H 129.4°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7FA552
RGBrgb(127, 165, 82)
HSLhsl(87, 34%, 48%)
HSVhsv(87, 50%, 65%)
CMYKcmyk(23%, 0%, 50.3%, 35.3%)
CIE-LABlab(63.37, -27.26, 38.58)
CIE-LCHlch(63.37, 47.24, 125.25°)
OKLaboklab(67.48% -0.0758 0.0923)
OKLCHoklch(67.48% 0.119 129.4)
XYZxyz(23.7303, 32.0310, 12.9134)
Luminance0.3203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7FA552 #7852A5
analogous
#A5A152 #7FA552 #55A552
triadic
#7FA552 #527FA5 #A5527F
tetradic
#7FA552 #52A5A1 #7852A5 #A55255
square
#7FA552 #52A5A1 #7852A5 #A55255
split-complementary
#7FA552 #5255A5 #A152A5
monochromatic
#405329 #607C3E #7FA552 #9DBC78 #BBD0A1

Accessibility & contrast

On white

2.84
#7FA552 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#7FA552 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #7FA552
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7FA552#FFFFFF#000000##000000
##7FA5521.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B4B
Deuteranopia (green-blind)
#A69957
Tritanopia (blue-blind)
#829F92
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #7fa552;
/* rgb */ color: rgb(127, 165, 82);
/* oklch */ color: oklch(67.5% 0.119 129.4);
Tailwind
colors: {
  custom: {
    50: '#a6c084',
    500: '#7fa552',
    950: '#000000',
  },
}
SCSS
$custom: #7fa552;
$custom-light: #a6c084;
$custom-dark: #000000;
JSON
{
  "hex": "#7fa552",
  "rgb": {
    "r": 127,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 87.47,
    "s": 33.603,
    "l": 48.431
  },
  "oklch": {
    "l": 0.67479,
    "c": 0.11942,
    "h": 129.4
  },
  "luminance": 0.32031
}

Semantic roles & 50–950 ramp

primary
#7FA552
secondary
#A895BE
accent
#5ECA8F
background
#FAFBF8
surface
#F4F7EF
border
#CED0CA
text
#0F120B
muted
#7F817C

Preview Lab

Preview with #7FA552

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

Preview Lab → · Contrast checker → · Palette generator →

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