#8FA052#8FA052

#8FA052 is a light, moderate yellow-green. Relative luminance 0.316; OKLCH L 67.5% C 0.105 H 119.4°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#8FA052
RGBrgb(143, 160, 82)
HSLhsl(73, 32%, 47%)
HSVhsv(73, 49%, 63%)
CMYKcmyk(10.6%, 0%, 48.8%, 37.3%)
CIE-LABlab(63.00, -18.38, 38.39)
CIE-LCHlch(63.00, 42.57, 115.58°)
OKLaboklab(67.47% -0.0517 0.0917)
OKLCHoklch(67.47% 0.105 119.4)
XYZxyz(25.4217, 31.5906, 12.7394)
Luminance0.3159 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA052 #6352A0
analogous
#A08A52 #8FA052 #68A052
triadic
#8FA052 #528FA0 #A0528F
tetradic
#8FA052 #52A08A #6352A0 #A05268
square
#8FA052 #52A08A #6352A0 #A05268
split-complementary
#8FA052 #5268A0 #8A52A0
monochromatic
#474F29 #6B783D #8FA052 #AAB976 #C3CE9F

Accessibility & contrast

On white

2.87
#8FA052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#8FA052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA052
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA052#FFFFFF#000000##000000
##8FA0521.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9984B
Deuteranopia (green-blind)
#A79956
Tritanopia (blue-blind)
#96998E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #8fa052;
/* rgb */ color: rgb(143, 160, 82);
/* oklch */ color: oklch(67.5% 0.105 119.4);
Tailwind
colors: {
  custom: {
    50: '#b1bc84',
    500: '#8fa052',
    950: '#000000',
  },
}
SCSS
$custom: #8fa052;
$custom-light: #b1bc84;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa052",
  "rgb": {
    "r": 143,
    "g": 160,
    "b": 82
  },
  "hsl": {
    "h": 73.077,
    "s": 32.231,
    "l": 47.451
  },
  "oklch": {
    "l": 0.67467,
    "c": 0.10529,
    "h": 119.4
  },
  "luminance": 0.3159
}

Semantic roles & 50–950 ramp

primary
#8FA052
secondary
#9C93BB
accent
#5FC876
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA052

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

Preview Lab → · Contrast checker → · Palette generator →

#8FA052 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva