#AFDA96#AFDA96

#AFDA96 is a very light, moderate yellow-green. Relative luminance 0.615; OKLCH L 84.1% C 0.102 H 134.4°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#AFDA96
RGBrgb(175, 218, 150)
HSLhsl(98, 48%, 72%)
HSVhsv(98, 31%, 85%)
CMYKcmyk(19.7%, 0%, 31.2%, 14.5%)
CIE-LABlab(82.62, -26.23, 29.02)
CIE-LCHlch(82.62, 39.12, 132.11°)
OKLaboklab(84.09% -0.0713 0.0728)
OKLCHoklch(84.09% 0.102 134.4)
XYZxyz(48.2545, 61.4578, 38.1685)
Luminance0.6146 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA96 #C196DA
analogous
#D1DA96 #AFDA96 #96DA9F
triadic
#AFDA96 #96AFDA #DA96AF
tetradic
#AFDA96 #96D1DA #C196DA #DA9F96
square
#AFDA96 #96D1DA #C196DA #DA9F96
split-complementary
#AFDA96 #9F96DA #DA96D1
monochromatic
#6BB640 #8DCA69 #AFDA96 #D1EAC3 #EEF7E8

Accessibility & contrast

On white

1.58
#AFDA96 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#AFDA96 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA96
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA96#FFFFFF#000000##000000
##AFDA961.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFD092
Deuteranopia (green-blind)
#D9CC99
Tritanopia (blue-blind)
#AFD5C8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #afda96;
/* rgb */ color: rgb(175, 218, 150);
/* oklch */ color: oklch(84.1% 0.102 134.4);
Tailwind
colors: {
  custom: {
    50: '#c8e5b5',
    500: '#afda96',
    950: '#000000',
  },
}
SCSS
$custom: #afda96;
$custom-light: #c8e5b5;
$custom-dark: #000000;
JSON
{
  "hex": "#afda96",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 150
  },
  "hsl": {
    "h": 97.941,
    "s": 47.887,
    "l": 72.157
  },
  "oklch": {
    "l": 0.84094,
    "c": 0.10192,
    "h": 134.4
  },
  "luminance": 0.61459
}

Semantic roles & 50–950 ramp

primary
#AFDA96
secondary
#9463B1
accent
#2ABB86
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFDA96

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

Preview Lab → · Contrast checker → · Palette generator →

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