#AFCC98#AFCC98

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

Color values

HEX#AFCC98
RGBrgb(175, 204, 152)
HSLhsl(93, 34%, 70%)
HSVhsv(93, 25%, 80%)
CMYKcmyk(14.2%, 0%, 25.5%, 20%)
CIE-LABlab(78.79, -19.06, 22.79)
CIE-LCHlch(78.79, 29.71, 129.91°)
OKLaboklab(81.04% -0.0514 0.0578)
OKLCHoklch(81.04% 0.077 131.7)
XYZxyz(44.9386, 54.5661, 37.8644)
Luminance0.5457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC98 #B598CC
analogous
#C9CC98 #AFCC98 #98CC9B
triadic
#AFCC98 #98AFCC #CC98AF
tetradic
#AFCC98 #98C9CC #B598CC #CC9B98
square
#AFCC98 #98C9CC #B598CC #CC9B98
split-complementary
#AFCC98 #9B98CC #CC98C9
monochromatic
#709C4D #8FB86F #AFCC98 #CFE0C1 #EFF5EA

Accessibility & contrast

On white

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

On black

11.91
#AFCC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC98
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC98#FFFFFF#000000##000000
##AFCC981.001.7611.9111.91
#FFFFFF1.761.0021.0021.00
#00000011.9121.001.001.00
##00000011.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1C495
Deuteranopia (green-blind)
#CCC29A
Tritanopia (blue-blind)
#B0C8BE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcc98;
/* rgb */ color: rgb(175, 204, 152);
/* oklch */ color: oklch(81.0% 0.077 131.7);
Tailwind
colors: {
  custom: {
    50: '#c7dbb6',
    500: '#afcc98',
    950: '#000000',
  },
}
SCSS
$custom: #afcc98;
$custom-light: #c7dbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc98",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 152
  },
  "hsl": {
    "h": 93.462,
    "s": 33.766,
    "l": 69.804
  },
  "oklch": {
    "l": 0.81036,
    "c": 0.07736,
    "h": 131.7
  },
  "luminance": 0.54567
}

Semantic roles & 50–950 ramp

primary
#AFCC98
secondary
#8767A1
accent
#39AD79
background
#FDFEFD
surface
#F9FBF8
border
#D2D4D1
text
#131511
muted
#828481

Preview Lab

Preview with #AFCC98

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

Preview Lab → · Contrast checker → · Palette generator →

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