#AFCD98#AFCD98

#AFCD98 is a light, moderate yellow-green. Relative luminance 0.550; OKLCH L 81.3% C 0.079 H 132.0°. Best body text is #000000 at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#AFCD98
RGBrgb(175, 205, 152)
HSLhsl(94, 35%, 70%)
HSVhsv(94, 26%, 80%)
CMYKcmyk(14.6%, 0%, 25.9%, 19.6%)
CIE-LABlab(79.07, -19.56, 23.16)
CIE-LCHlch(79.07, 30.32, 130.18°)
OKLaboklab(81.26% -0.0528 0.0587)
OKLCHoklch(81.26% 0.079 132)
XYZxyz(45.1770, 55.0430, 37.9439)
Luminance0.5504 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD98 #B698CD
analogous
#CACD98 #AFCD98 #98CD9B
triadic
#AFCD98 #98AFCD #CD98AF
tetradic
#AFCD98 #98CACD #B698CD #CD9B98
square
#AFCD98 #98CACD #B698CD #CD9B98
split-complementary
#AFCD98 #9B98CD #CD98CA
monochromatic
#709E4D #8FB96F #AFCD98 #CFE1C1 #EFF5EA

Accessibility & contrast

On white

1.75
#AFCD98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.01
#AFCD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD98
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD98#FFFFFF#000000##000000
##AFCD981.001.7512.0112.01
#FFFFFF1.751.0021.0021.00
#00000012.0121.001.001.00
##00000012.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C595
Deuteranopia (green-blind)
#CDC39A
Tritanopia (blue-blind)
#B0C9BF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #afcd98;
/* rgb */ color: rgb(175, 205, 152);
/* oklch */ color: oklch(81.3% 0.079 132.0);
Tailwind
colors: {
  custom: {
    50: '#c7dcb6',
    500: '#afcd98',
    950: '#000000',
  },
}
SCSS
$custom: #afcd98;
$custom-light: #c7dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd98",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 93.962,
    "s": 34.641,
    "l": 70
  },
  "oklch": {
    "l": 0.81256,
    "c": 0.07896,
    "h": 132
  },
  "luminance": 0.55044
}

Semantic roles & 50–950 ramp

primary
#AFCD98
secondary
#8967A2
accent
#38AD7B
background
#FDFEFD
surface
#F9FCF8
border
#D2D5D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCD98

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

Preview Lab → · Contrast checker → · Palette generator →

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