#AFDA97#AFDA97

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

Color values

HEX#AFDA97
RGBrgb(175, 218, 151)
HSLhsl(99, 48%, 72%)
HSVhsv(99, 31%, 85%)
CMYKcmyk(19.7%, 0%, 30.7%, 14.5%)
CIE-LABlab(82.64, -26.08, 28.53)
CIE-LCHlch(82.64, 38.65, 132.43°)
OKLaboklab(84.11% -0.0709 0.0716)
OKLCHoklch(84.11% 0.101 134.7)
XYZxyz(48.3353, 61.4901, 38.5944)
Luminance0.6149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA97 #C297DA
analogous
#D1DA97 #AFDA97 #97DAA0
triadic
#AFDA97 #97AFDA #DA97AF
tetradic
#AFDA97 #97D1DA #C297DA #DAA097
square
#AFDA97 #97D1DA #C297DA #DAA097
split-complementary
#AFDA97 #A097DA #DA97D1
monochromatic
#6BB641 #8CCA6A #AFDA97 #D2EAC4 #EEF7E8

Accessibility & contrast

On white

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

On black

13.30
#AFDA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA97
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA97#FFFFFF#000000##000000
##AFDA971.001.5813.3013.30
#FFFFFF1.581.0021.0021.00
#00000013.3021.001.001.00
##00000013.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afda97;
/* rgb */ color: rgb(175, 218, 151);
/* oklch */ color: oklch(84.1% 0.101 134.7);
Tailwind
colors: {
  custom: {
    50: '#c7e5b6',
    500: '#afda97',
    950: '#000000',
  },
}
SCSS
$custom: #afda97;
$custom-light: #c7e5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#afda97",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 151
  },
  "hsl": {
    "h": 98.507,
    "s": 47.518,
    "l": 72.353
  },
  "oklch": {
    "l": 0.84114,
    "c": 0.1008,
    "h": 134.7
  },
  "luminance": 0.61491
}

Semantic roles & 50–950 ramp

primary
#AFDA97
secondary
#9664B1
accent
#2BBB87
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFDA97

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

Preview Lab → · Contrast checker → · Palette generator →

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