#AFD993#AFD993

#AFD993 is a very light, moderate yellow-green. Relative luminance 0.608; OKLCH L 83.8% C 0.104 H 133.4°. Best body text is #000000 at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#AFD993
RGBrgb(175, 217, 147)
HSLhsl(96, 48%, 71%)
HSVhsv(96, 32%, 85%)
CMYKcmyk(19.4%, 0%, 32.3%, 14.9%)
CIE-LABlab(82.30, -26.19, 30.13)
CIE-LCHlch(82.30, 39.92, 131.00°)
OKLaboklab(83.81% -0.0713 0.0754)
OKLCHoklch(83.81% 0.104 133.4)
XYZxyz(47.7574, 60.8453, 36.8263)
Luminance0.6085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD993 #BD93D9
analogous
#D2D993 #AFD993 #93D99A
triadic
#AFD993 #93AFD9 #D993AF
tetradic
#AFD993 #93D2D9 #BD93D9 #D99A93
square
#AFD993 #93D2D9 #BD93D9 #D99A93
split-complementary
#AFD993 #9A93D9 #D993D2
monochromatic
#6DB33F #8DC966 #AFD993 #D1E9C0 #EEF7E8

Accessibility & contrast

On white

1.59
#AFD993 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.17
#AFD993 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD993
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD993#FFFFFF#000000##000000
##AFD9931.001.5913.1713.17
#FFFFFF1.591.0021.0021.00
#00000013.1721.001.001.00
##00000013.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF8E
Deuteranopia (green-blind)
#D8CC97
Tritanopia (blue-blind)
#B0D4C7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afd993;
/* rgb */ color: rgb(175, 217, 147);
/* oklch */ color: oklch(83.8% 0.104 133.4);
Tailwind
colors: {
  custom: {
    50: '#c8e5b3',
    500: '#afd993',
    950: '#000000',
  },
}
SCSS
$custom: #afd993;
$custom-light: #c8e5b3;
$custom-dark: #000000;
JSON
{
  "hex": "#afd993",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 147
  },
  "hsl": {
    "h": 96,
    "s": 47.945,
    "l": 71.373
  },
  "oklch": {
    "l": 0.83813,
    "c": 0.10372,
    "h": 133.4
  },
  "luminance": 0.60846
}

Semantic roles & 50–950 ramp

primary
#AFD993
secondary
#9060B0
accent
#2ABB81
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD993

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

Preview Lab → · Contrast checker → · Palette generator →

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