#8FA252#8FA252

#8FA252 is a light, moderate yellow-green. Relative luminance 0.323; OKLCH L 67.9% C 0.108 H 120.4°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#8FA252
RGBrgb(143, 162, 82)
HSLhsl(74, 33%, 48%)
HSVhsv(74, 49%, 64%)
CMYKcmyk(11.7%, 0%, 49.4%, 36.5%)
CIE-LABlab(63.58, -19.40, 39.09)
CIE-LCHlch(63.58, 43.64, 116.40°)
OKLaboklab(67.93% -0.0546 0.0932)
OKLCHoklch(67.93% 0.108 120.4)
XYZxyz(25.7712, 32.2896, 12.8559)
Luminance0.3229 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8FA252 #6552A2
analogous
#A28D52 #8FA252 #67A252
triadic
#8FA252 #528FA2 #A2528F
tetradic
#8FA252 #52A28D #6552A2 #A25267
square
#8FA252 #52A28D #6552A2 #A25267
split-complementary
#8FA252 #5267A2 #8D52A2
monochromatic
#475129 #6B793D #8FA252 #AABA77 #C4CFA0

Accessibility & contrast

On white

2.82
#8FA252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#8FA252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8FA252
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8FA252#FFFFFF#000000##000000
##8FA2521.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4B
Deuteranopia (green-blind)
#A89A56
Tritanopia (blue-blind)
#959B8F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #8fa252;
/* rgb */ color: rgb(143, 162, 82);
/* oklch */ color: oklch(67.9% 0.108 120.4);
Tailwind
colors: {
  custom: {
    50: '#b1bd84',
    500: '#8fa252',
    950: '#000000',
  },
}
SCSS
$custom: #8fa252;
$custom-light: #b1bd84;
$custom-dark: #000000;
JSON
{
  "hex": "#8fa252",
  "rgb": {
    "r": 143,
    "g": 162,
    "b": 82
  },
  "hsl": {
    "h": 74.25,
    "s": 32.787,
    "l": 47.843
  },
  "oklch": {
    "l": 0.6793,
    "c": 0.10806,
    "h": 120.4
  },
  "luminance": 0.32289
}

Semantic roles & 50–950 ramp

primary
#8FA252
secondary
#9D94BC
accent
#5FC978
background
#FBFBF8
surface
#F6F6EF
border
#D0D0CA
text
#11120B
muted
#80817C

Preview Lab

Preview with #8FA252

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

Preview Lab → · Contrast checker → · Palette generator →

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