#AFCF82#AFCF82

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

Color values

HEX#AFCF82
RGBrgb(175, 207, 130)
HSLhsl(85, 45%, 66%)
HSVhsv(85, 37%, 81%)
CMYKcmyk(15.5%, 0%, 37.2%, 18.8%)
CIE-LABlab(79.24, -23.68, 34.83)
CIE-LCHlch(79.24, 42.11, 124.21°)
OKLaboklab(81.27% -0.0648 0.0859)
OKLCHoklch(81.27% 0.108 127)
XYZxyz(44.0208, 55.3509, 29.4794)
Luminance0.5535 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF82 #A282CF
analogous
#CFC882 #AFCF82 #88CF82
triadic
#AFCF82 #82AFCF #CF82AF
tetradic
#AFCF82 #82CFC8 #A282CF #CF8288
square
#AFCF82 #82CFC8 #A282CF #CF8288
split-complementary
#AFCF82 #8288CF #C882CF
monochromatic
#739B3C #93BE56 #AFCF82 #CBE0AE #E8F1DA

Accessibility & contrast

On white

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

On black

12.07
#AFCF82 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF82
12.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF82#FFFFFF#000000##000000
##AFCF821.001.7412.0712.07
#FFFFFF1.741.0021.0021.00
#00000012.0721.001.001.00
##00000012.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C67C
Deuteranopia (green-blind)
#D2C486
Tritanopia (blue-blind)
#B3C8BC
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcf82;
/* rgb */ color: rgb(175, 207, 130);
/* oklch */ color: oklch(81.3% 0.108 127.0);
Tailwind
colors: {
  custom: {
    50: '#c8dda7',
    500: '#afcf82',
    950: '#000000',
  },
}
SCSS
$custom: #afcf82;
$custom-light: #c8dda7;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf82",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 130
  },
  "hsl": {
    "h": 84.935,
    "s": 44.509,
    "l": 66.078
  },
  "oklch": {
    "l": 0.81274,
    "c": 0.1076,
    "h": 127
  },
  "luminance": 0.55351
}

Semantic roles & 50–950 ramp

primary
#AFCF82
secondary
#7454A1
accent
#2EB867
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCF82

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

Preview Lab → · Contrast checker → · Palette generator →

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