#AFCD81#AFCD81

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

Color values

HEX#AFCD81
RGBrgb(175, 205, 129)
HSLhsl(84, 43%, 65%)
HSVhsv(84, 37%, 80%)
CMYKcmyk(14.6%, 0%, 37.1%, 19.6%)
CIE-LABlab(78.67, -22.83, 34.60)
CIE-LCHlch(78.67, 41.45, 123.42°)
OKLaboklab(80.81% -0.0624 0.0854)
OKLCHoklch(80.81% 0.106 126.2)
XYZxyz(43.4726, 54.3612, 28.9671)
Luminance0.5436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD81 #9F81CD
analogous
#CDC581 #AFCD81 #89CD81
triadic
#AFCD81 #81AFCD #CD81AF
tetradic
#AFCD81 #81CDC5 #9F81CD #CD8189
square
#AFCD81 #81CDC5 #9F81CD #CD8189
split-complementary
#AFCD81 #8189CD #C581CD
monochromatic
#73973C #93BC55 #AFCD81 #CBDEAD #E7F0D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCD81#FFFFFF#000000##000000
##AFCD811.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)
#D5C47C
Deuteranopia (green-blind)
#D0C285
Tritanopia (blue-blind)
#B3C6BA
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcd81;
/* rgb */ color: rgb(175, 205, 129);
/* oklch */ color: oklch(80.8% 0.106 126.2);
Tailwind
colors: {
  custom: {
    50: '#c8dca6',
    500: '#afcd81',
    950: '#000000',
  },
}
SCSS
$custom: #afcd81;
$custom-light: #c8dca6;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd81",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 129
  },
  "hsl": {
    "h": 83.684,
    "s": 43.182,
    "l": 65.49
  },
  "oklch": {
    "l": 0.80812,
    "c": 0.10575,
    "h": 126.2
  },
  "luminance": 0.54362
}

Semantic roles & 50–950 ramp

primary
#AFCD81
secondary
#71549E
accent
#2FB665
background
#FDFEFC
surface
#F9FCF6
border
#D2D5D0
text
#13150F
muted
#828480

Preview Lab

Preview with #AFCD81

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

Preview Lab → · Contrast checker → · Palette generator →

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