#AFD985#AFD985

#AFD985 is a very light, moderate yellow-green. Relative luminance 0.604; OKLCH L 83.6% C 0.119 H 130.3°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#AFD985
RGBrgb(175, 217, 133)
HSLhsl(90, 53%, 69%)
HSVhsv(90, 39%, 85%)
CMYKcmyk(19.4%, 0%, 38.7%, 14.9%)
CIE-LABlab(82.07, -28.11, 36.97)
CIE-LCHlch(82.07, 46.44, 127.25°)
OKLaboklab(83.56% -0.077 0.091)
OKLCHoklch(83.56% 0.119 130.3)
XYZxyz(46.7250, 60.4323, 31.3887)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD985 #AF85D9
analogous
#D9D985 #AFD985 #85D985
triadic
#AFD985 #85AFD9 #D985AF
tetradic
#AFD985 #85D9D9 #AF85D9 #D98585
square
#AFD985 #85D9D9 #AF85D9 #D98585
split-complementary
#AFD985 #8585D9 #D985D9
monochromatic
#72AE36 #90CA56 #AFD985 #CEE8B4 #ECF6E2

Accessibility & contrast

On white

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

On black

13.09
#AFD985 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD985
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD985#FFFFFF#000000##000000
##AFD9851.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CE7F
Deuteranopia (green-blind)
#DACB89
Tritanopia (blue-blind)
#B2D2C4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #afd985;
/* rgb */ color: rgb(175, 217, 133);
/* oklch */ color: oklch(83.6% 0.119 130.3);
Tailwind
colors: {
  custom: {
    50: '#c8e5a9',
    500: '#afd985',
    950: '#000000',
  },
}
SCSS
$custom: #afd985;
$custom-light: #c8e5a9;
$custom-dark: #000000;
JSON
{
  "hex": "#afd985",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 133
  },
  "hsl": {
    "h": 90,
    "s": 52.5,
    "l": 68.627
  },
  "oklch": {
    "l": 0.83561,
    "c": 0.11922,
    "h": 130.3
  },
  "luminance": 0.60433
}

Semantic roles & 50–950 ramp

primary
#AFD985
secondary
#8153AF
accent
#26C073
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFD985

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

Preview Lab → · Contrast checker → · Palette generator →

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