#AFCD80#AFCD80

#AFCD80 is a light, moderate yellow-green. Relative luminance 0.543; OKLCH L 80.8% C 0.107 H 126.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#AFCD80
RGBrgb(175, 205, 128)
HSLhsl(83, 44%, 65%)
HSVhsv(83, 38%, 80%)
CMYKcmyk(14.6%, 0%, 37.6%, 19.6%)
CIE-LABlab(78.66, -22.96, 35.09)
CIE-LCHlch(78.66, 41.93, 123.20°)
OKLaboklab(80.79% -0.0628 0.0865)
OKLCHoklch(80.79% 0.107 126)
XYZxyz(43.4064, 54.3348, 28.6188)
Luminance0.5433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD80 #9E80CD
analogous
#CDC580 #AFCD80 #88CD80
triadic
#AFCD80 #80AFCD #CD80AF
tetradic
#AFCD80 #80CDC5 #9E80CD #CD8088
square
#AFCD80 #80CDC5 #9E80CD #CD8088
split-complementary
#AFCD80 #8088CD #C580CD
monochromatic
#73973B #93BC54 #AFCD80 #CBDEAC #E6F0D8

Accessibility & contrast

On white

1.77
#AFCD80 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.87
#AFCD80 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD80
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD80#FFFFFF#000000##000000
##AFCD801.001.7711.8711.87
#FFFFFF1.771.0021.0021.00
#00000011.8721.001.001.00
##00000011.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5C47A
Deuteranopia (green-blind)
#D0C284
Tritanopia (blue-blind)
#B3C6BA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcd80;
/* rgb */ color: rgb(175, 205, 128);
/* oklch */ color: oklch(80.8% 0.107 126.0);
Tailwind
colors: {
  custom: {
    50: '#c8dca6',
    500: '#afcd80',
    950: '#000000',
  },
}
SCSS
$custom: #afcd80;
$custom-light: #c8dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd80",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 128
  },
  "hsl": {
    "h": 83.377,
    "s": 43.503,
    "l": 65.294
  },
  "oklch": {
    "l": 0.80794,
    "c": 0.10688,
    "h": 126
  },
  "luminance": 0.54335
}

Semantic roles & 50–950 ramp

primary
#AFCD80
secondary
#70549D
accent
#2FB764
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCD80

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

Preview Lab → · Contrast checker → · Palette generator →

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