#AFC784#AFC784

#AFC784 is a light, moderate yellow-green. Relative luminance 0.516; OKLCH L 79.5% C 0.093 H 124.5°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#AFC784
RGBrgb(175, 199, 132)
HSLhsl(81, 37%, 65%)
HSVhsv(81, 34%, 78%)
CMYKcmyk(12.1%, 0%, 33.7%, 22%)
CIE-LABlab(77.06, -19.46, 30.94)
CIE-LCHlch(77.06, 36.55, 122.18°)
OKLaboklab(79.54% -0.0529 0.0769)
OKLCHoklch(79.54% 0.093 124.5)
XYZxyz(42.2671, 51.6266, 29.5635)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC784 #9C84C7
analogous
#C7BE84 #AFC784 #8DC784
triadic
#AFC784 #84AFC7 #C784AF
tetradic
#AFC784 #84C7BE #9C84C7 #C7848D
square
#AFC784 #84C7BE #9C84C7 #C7848D
split-complementary
#AFC784 #848DC7 #BE84C7
monochromatic
#738F41 #94B45A #AFC784 #CADAAE #E6EDD8

Accessibility & contrast

On white

1.85
#AFC784 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#AFC784 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC784
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC784#FFFFFF#000000##000000
##AFC7841.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEBF7F
Deuteranopia (green-blind)
#CBBE87
Tritanopia (blue-blind)
#B3C1B6
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afc784;
/* rgb */ color: rgb(175, 199, 132);
/* oklch */ color: oklch(79.5% 0.093 124.5);
Tailwind
colors: {
  custom: {
    50: '#c7d8a8',
    500: '#afc784',
    950: '#000000',
  },
}
SCSS
$custom: #afc784;
$custom-light: #c7d8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#afc784",
  "rgb": {
    "r": 175,
    "g": 199,
    "b": 132
  },
  "hsl": {
    "h": 81.493,
    "s": 37.43,
    "l": 64.902
  },
  "oklch": {
    "l": 0.79535,
    "c": 0.09332,
    "h": 124.5
  },
  "luminance": 0.51627
}

Semantic roles & 50–950 ramp

primary
#AFC784
secondary
#6F5897
accent
#35B061
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13140F
muted
#828380

Preview Lab

Preview with #AFC784

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

Preview Lab → · Contrast checker → · Palette generator →

#AFC784 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva