#AFCF84#AFCF84

#AFCF84 is a light, moderate yellow-green. Relative luminance 0.554; OKLCH L 81.3% C 0.105 H 127.4°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#AFCF84
RGBrgb(175, 207, 132)
HSLhsl(86, 44%, 66%)
HSVhsv(86, 36%, 81%)
CMYKcmyk(15.5%, 0%, 36.2%, 18.8%)
CIE-LABlab(79.27, -23.42, 33.84)
CIE-LCHlch(79.27, 41.16, 124.68°)
OKLaboklab(81.31% -0.064 0.0837)
OKLCHoklch(81.31% 0.105 127.4)
XYZxyz(44.1564, 55.4051, 30.1933)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF84 #A484CF
analogous
#CFCA84 #AFCF84 #8ACF84
triadic
#AFCF84 #84AFCF #CF84AF
tetradic
#AFCF84 #84CFCA #A484CF #CF848A
square
#AFCF84 #84CFCA #A484CF #CF848A
split-complementary
#AFCF84 #848ACF #CA84CF
monochromatic
#739C3D #92BE58 #AFCF84 #CCE0B0 #E8F1DC

Accessibility & contrast

On white

1.74
#AFCF84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#AFCF84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF84
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF84#FFFFFF#000000##000000
##AFCF841.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C67F
Deuteranopia (green-blind)
#D2C488
Tritanopia (blue-blind)
#B3C9BC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf84;
/* rgb */ color: rgb(175, 207, 132);
/* oklch */ color: oklch(81.3% 0.105 127.4);
Tailwind
colors: {
  custom: {
    50: '#c8dda8',
    500: '#afcf84',
    950: '#000000',
  },
}
SCSS
$custom: #afcf84;
$custom-light: #c8dda8;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf84",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 132
  },
  "hsl": {
    "h": 85.6,
    "s": 43.86,
    "l": 66.471
  },
  "oklch": {
    "l": 0.8131,
    "c": 0.10534,
    "h": 127.4
  },
  "luminance": 0.55406
}

Semantic roles & 50–950 ramp

primary
#AFCF84
secondary
#7656A2
accent
#2FB769
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#131510
muted
#828480

Preview Lab

Preview with #AFCF84

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

Preview Lab → · Contrast checker → · Palette generator →

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