#AFCA89#AFCA89

#AFCA89 is a light, moderate yellow-green. Relative luminance 0.532; OKLCH L 80.3% C 0.092 H 126.7°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#AFCA89
RGBrgb(175, 202, 137)
HSLhsl(85, 38%, 66%)
HSVhsv(85, 32%, 79%)
CMYKcmyk(13.4%, 0%, 32.2%, 20.8%)
CIE-LABlab(77.97, -20.27, 29.54)
CIE-LCHlch(77.97, 35.83, 124.46°)
OKLaboklab(80.29% -0.055 0.0738)
OKLCHoklch(80.29% 0.092 126.7)
XYZxyz(43.3145, 53.1608, 31.6412)
Luminance0.5316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA89 #A489CA
analogous
#CAC589 #AFCA89 #8FCA89
triadic
#AFCA89 #89AFCA #CA89AF
tetradic
#AFCA89 #89CAC5 #A489CA #CA898F
square
#AFCA89 #89CAC5 #A489CA #CA898F
split-complementary
#AFCA89 #898FCA #C589CA
monochromatic
#739543 #92B75F #AFCA89 #CCDDB3 #E8F0DD

Accessibility & contrast

On white

1.81
#AFCA89 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#AFCA89 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA89
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA89#FFFFFF#000000##000000
##AFCA891.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C285
Deuteranopia (green-blind)
#CDC08C
Tritanopia (blue-blind)
#B3C4B9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afca89;
/* rgb */ color: rgb(175, 202, 137);
/* oklch */ color: oklch(80.3% 0.092 126.7);
Tailwind
colors: {
  custom: {
    50: '#c7daac',
    500: '#afca89',
    950: '#000000',
  },
}
SCSS
$custom: #afca89;
$custom-light: #c7daac;
$custom-dark: #000000;
JSON
{
  "hex": "#afca89",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 137
  },
  "hsl": {
    "h": 84.923,
    "s": 38.012,
    "l": 66.471
  },
  "oklch": {
    "l": 0.80292,
    "c": 0.09198,
    "h": 126.7
  },
  "luminance": 0.53161
}

Semantic roles & 50–950 ramp

primary
#AFCA89
secondary
#765B9C
accent
#35B168
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131410
muted
#828381

Preview Lab

Preview with #AFCA89

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

Preview Lab → · Contrast checker → · Palette generator →

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