#AFCA98#AFCA98

#AFCA98 is a light, moderate yellow-green. Relative luminance 0.536; OKLCH L 80.6% C 0.074 H 131.0°. Best body text is #000000 at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#AFCA98
RGBrgb(175, 202, 152)
HSLhsl(92, 32%, 69%)
HSVhsv(92, 25%, 79%)
CMYKcmyk(13.4%, 0%, 24.8%, 20.8%)
CIE-LABlab(78.24, -18.06, 22.04)
CIE-LCHlch(78.24, 28.49, 129.34°)
OKLaboklab(80.6% -0.0486 0.056)
OKLCHoklch(80.6% 0.074 131)
XYZxyz(44.4663, 53.6215, 37.7070)
Luminance0.5362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA98 #B398CA
analogous
#C8CA98 #AFCA98 #98CA9A
triadic
#AFCA98 #98AFCA #CA98AF
tetradic
#AFCA98 #98C8CA #B398CA #CA9A98
square
#AFCA98 #98C8CA #B398CA #CA9A98
split-complementary
#AFCA98 #9A98CA #CA98C8
monochromatic
#71994F #90B570 #AFCA98 #CEDFC0 #EEF4E9

Accessibility & contrast

On white

1.79
#AFCA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.72
#AFCA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA98
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA98#FFFFFF#000000##000000
##AFCA981.001.7911.7211.72
#FFFFFF1.791.0021.0021.00
#00000011.7221.001.001.00
##00000011.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC395
Deuteranopia (green-blind)
#CBC19A
Tritanopia (blue-blind)
#B0C6BC
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afca98;
/* rgb */ color: rgb(175, 202, 152);
/* oklch */ color: oklch(80.6% 0.074 131.0);
Tailwind
colors: {
  custom: {
    50: '#c7dab6',
    500: '#afca98',
    950: '#000000',
  },
}
SCSS
$custom: #afca98;
$custom-light: #c7dab6;
$custom-dark: #000000;
JSON
{
  "hex": "#afca98",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 152
  },
  "hsl": {
    "h": 92.4,
    "s": 32.051,
    "l": 69.412
  },
  "oklch": {
    "l": 0.80597,
    "c": 0.07414,
    "h": 131
  },
  "luminance": 0.53622
}

Semantic roles & 50–950 ramp

primary
#AFCA98
secondary
#85679F
accent
#3BAB77
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131411
muted
#828381

Preview Lab

Preview with #AFCA98

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

Preview Lab → · Contrast checker → · Palette generator →

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