#AFD992#AFD992

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

Color values

HEX#AFD992
RGBrgb(175, 217, 146)
HSLhsl(95, 48%, 71%)
HSVhsv(95, 33%, 85%)
CMYKcmyk(19.4%, 0%, 32.7%, 14.9%)
CIE-LABlab(82.28, -26.33, 30.62)
CIE-LCHlch(82.28, 40.39, 130.69°)
OKLaboklab(83.79% -0.0717 0.0765)
OKLCHoklch(83.79% 0.105 133.1)
XYZxyz(47.6793, 60.8141, 36.4148)
Luminance0.6081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD992 #BC92D9
analogous
#D2D992 #AFD992 #92D998
triadic
#AFD992 #92AFD9 #D992AF
tetradic
#AFD992 #92D2D9 #BC92D9 #D99892
square
#AFD992 #92D2D9 #BC92D9 #D99892
split-complementary
#AFD992 #9892D9 #D992D2
monochromatic
#6EB23E #8EC965 #AFD992 #D0E9BF #EEF7E8

Accessibility & contrast

On white

1.60
#AFD992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#AFD992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD992
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD992#FFFFFF#000000##000000
##AFD9921.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFCF8D
Deuteranopia (green-blind)
#D8CB96
Tritanopia (blue-blind)
#B0D3C7
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #afd992;
/* rgb */ color: rgb(175, 217, 146);
/* oklch */ color: oklch(83.8% 0.105 133.1);
Tailwind
colors: {
  custom: {
    50: '#c8e5b2',
    500: '#afd992',
    950: '#000000',
  },
}
SCSS
$custom: #afd992;
$custom-light: #c8e5b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afd992",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 146
  },
  "hsl": {
    "h": 95.493,
    "s": 48.299,
    "l": 71.176
  },
  "oklch": {
    "l": 0.83794,
    "c": 0.10484,
    "h": 133.1
  },
  "luminance": 0.60815
}

Semantic roles & 50–950 ramp

primary
#AFD992
secondary
#8F5FB0
accent
#2ABC80
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFD992

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

Preview Lab → · Contrast checker → · Palette generator →

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