#AFCD89#AFCD89

#AFCD89 is a light, moderate yellow-green. Relative luminance 0.546; OKLCH L 81.0% C 0.097 H 127.8°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#AFCD89
RGBrgb(175, 205, 137)
HSLhsl(86, 40%, 67%)
HSVhsv(86, 33%, 80%)
CMYKcmyk(14.6%, 0%, 33.2%, 19.6%)
CIE-LABlab(78.80, -21.76, 30.65)
CIE-LCHlch(78.80, 37.58, 125.37°)
OKLaboklab(80.96% -0.0591 0.0764)
OKLCHoklch(80.96% 0.097 127.8)
XYZxyz(44.0253, 54.5823, 31.8781)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD89 #A789CD
analogous
#CDC989 #AFCD89 #8DCD89
triadic
#AFCD89 #89AFCD #CD89AF
tetradic
#AFCD89 #89CDC9 #A789CD #CD898D
square
#AFCD89 #89CDC9 #A789CD #CD898D
split-complementary
#AFCD89 #898DCD #C989CD
monochromatic
#739A41 #92BB5E #AFCD89 #CCDFB4 #E9F1DF

Accessibility & contrast

On white

1.76
#AFCD89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#AFCD89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD89
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD89#FFFFFF#000000##000000
##AFCD891.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C484
Deuteranopia (green-blind)
#CFC28C
Tritanopia (blue-blind)
#B2C7BC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcd89;
/* rgb */ color: rgb(175, 205, 137);
/* oklch */ color: oklch(81.0% 0.097 127.8);
Tailwind
colors: {
  custom: {
    50: '#c7dcac',
    500: '#afcd89',
    950: '#000000',
  },
}
SCSS
$custom: #afcd89;
$custom-light: #c7dcac;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd89",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 137
  },
  "hsl": {
    "h": 86.471,
    "s": 40.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.80956,
    "c": 0.09657,
    "h": 127.8
  },
  "luminance": 0.54583
}

Semantic roles & 50–950 ramp

primary
#AFCD89
secondary
#795AA1
accent
#32B46B
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCD89

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

Preview Lab → · Contrast checker → · Palette generator →

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