#AFCC80#AFCC80

#AFCC80 is a light, moderate yellow-green. Relative luminance 0.539; OKLCH L 80.6% C 0.105 H 125.7°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#AFCC80
RGBrgb(175, 204, 128)
HSLhsl(83, 43%, 65%)
HSVhsv(83, 37%, 80%)
CMYKcmyk(14.2%, 0%, 37.3%, 20%)
CIE-LABlab(78.38, -22.47, 34.73)
CIE-LCHlch(78.38, 41.36, 122.90°)
OKLaboklab(80.57% -0.0615 0.0856)
OKLCHoklch(80.57% 0.105 125.7)
XYZxyz(43.1680, 53.8579, 28.5393)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC80 #9D80CC
analogous
#CCC380 #AFCC80 #89CC80
triadic
#AFCC80 #80AFCC #CC80AF
tetradic
#AFCC80 #80CCC3 #9D80CC #CC8089
square
#AFCC80 #80CCC3 #9D80CC #CC8089
split-complementary
#AFCC80 #8089CC #C380CC
monochromatic
#73963C #93BA54 #AFCC80 #CBDEAC #E6EFD7

Accessibility & contrast

On white

1.78
#AFCC80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#AFCC80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC80
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC80#FFFFFF#000000##000000
##AFCC801.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C37B
Deuteranopia (green-blind)
#D0C284
Tritanopia (blue-blind)
#B3C5B9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcc80;
/* rgb */ color: rgb(175, 204, 128);
/* oklch */ color: oklch(80.6% 0.105 125.7);
Tailwind
colors: {
  custom: {
    50: '#c8dba5',
    500: '#afcc80',
    950: '#000000',
  },
}
SCSS
$custom: #afcc80;
$custom-light: #c8dba5;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc80",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 128
  },
  "hsl": {
    "h": 82.895,
    "s": 42.697,
    "l": 65.098
  },
  "oklch": {
    "l": 0.80572,
    "c": 0.1054,
    "h": 125.7
  },
  "luminance": 0.53858
}

Semantic roles & 50–950 ramp

primary
#AFCC80
secondary
#70549C
accent
#30B663
background
#FDFEFC
surface
#F9FBF6
border
#D2D4D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCC80

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

Preview Lab → · Contrast checker → · Palette generator →

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