#AFCD8B#AFCD8B

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

Color values

HEX#AFCD8B
RGBrgb(175, 205, 139)
HSLhsl(87, 40%, 67%)
HSVhsv(87, 32%, 80%)
CMYKcmyk(14.6%, 0%, 32.2%, 19.6%)
CIE-LABlab(78.83, -21.48, 29.65)
CIE-LCHlch(78.83, 36.61, 125.92°)
OKLaboklab(80.99% -0.0583 0.0741)
OKLCHoklch(80.99% 0.094 128.2)
XYZxyz(44.1701, 54.6402, 32.6407)
Luminance0.5464 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD8B #A98BCD
analogous
#CDCA8B #AFCD8B #8ECD8B
triadic
#AFCD8B #8BAFCD #CD8BAF
tetradic
#AFCD8B #8BCDCA #A98BCD #CD8B8E
square
#AFCD8B #8BCDCA #A98BCD #CD8B8E
split-complementary
#AFCD8B #8B8ECD #CA8BCD
monochromatic
#739B43 #92BB60 #AFCD8B #CCDFB6 #EAF2E1

Accessibility & contrast

On white

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

On black

11.93
#AFCD8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD8B
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD8B#FFFFFF#000000##000000
##AFCD8B1.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcd8b;
/* rgb */ color: rgb(175, 205, 139);
/* oklch */ color: oklch(81.0% 0.094 128.2);
Tailwind
colors: {
  custom: {
    50: '#c7dcad',
    500: '#afcd8b',
    950: '#000000',
  },
}
SCSS
$custom: #afcd8b;
$custom-light: #c7dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd8b",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 139
  },
  "hsl": {
    "h": 87.273,
    "s": 39.759,
    "l": 67.451
  },
  "oklch": {
    "l": 0.80994,
    "c": 0.09425,
    "h": 128.2
  },
  "luminance": 0.54641
}

Semantic roles & 50–950 ramp

primary
#AFCD8B
secondary
#7B5BA1
accent
#33B36D
background
#FDFEFD
surface
#F9FCF7
border
#D2D5D0
text
#131510
muted
#828481

Preview Lab

Preview with #AFCD8B

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

Preview Lab → · Contrast checker → · Palette generator →

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