#AFC992#AFC992

#AFC992 is a light, moderate yellow-green. Relative luminance 0.530; OKLCH L 80.3% C 0.080 H 128.6°. Best body text is #000000 at 11.59:1 contrast (WCAG AA passes).

Color values

HEX#AFC992
RGBrgb(175, 201, 146)
HSLhsl(88, 34%, 68%)
HSVhsv(88, 27%, 79%)
CMYKcmyk(12.9%, 0%, 27.4%, 21.2%)
CIE-LABlab(77.85, -18.47, 24.67)
CIE-LCHlch(77.85, 30.82, 126.82°)
OKLaboklab(80.25% -0.0498 0.0623)
OKLCHoklch(80.25% 0.08 128.6)
XYZxyz(43.7534, 52.9622, 35.1062)
Luminance0.5296 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC992 #AC92C9
analogous
#C9C792 #AFC992 #93C992
triadic
#AFC992 #92AFC9 #C992AF
tetradic
#AFC992 #92C9C7 #AC92C9 #C99293
square
#AFC992 #92C9C7 #AC92C9 #C99293
split-complementary
#AFC992 #9293C9 #C792C9
monochromatic
#72964A #91B569 #AFC992 #CDDDBB #EBF2E4

Accessibility & contrast

On white

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

On black

11.59
#AFC992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC992
11.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC992#FFFFFF#000000##000000
##AFC9921.001.8111.5911.59
#FFFFFF1.811.0021.0021.00
#00000011.5921.001.001.00
##00000011.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFC28F
Deuteranopia (green-blind)
#CBC095
Tritanopia (blue-blind)
#B1C4BA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afc992;
/* rgb */ color: rgb(175, 201, 146);
/* oklch */ color: oklch(80.3% 0.080 128.6);
Tailwind
colors: {
  custom: {
    50: '#c7d9b2',
    500: '#afc992',
    950: '#000000',
  },
}
SCSS
$custom: #afc992;
$custom-light: #c7d9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#afc992",
  "rgb": {
    "r": 175,
    "g": 201,
    "b": 146
  },
  "hsl": {
    "h": 88.364,
    "s": 33.742,
    "l": 68.039
  },
  "oklch": {
    "l": 0.8025,
    "c": 0.07973,
    "h": 128.6
  },
  "luminance": 0.52963
}

Semantic roles & 50–950 ramp

primary
#AFC992
secondary
#7E629E
accent
#39AD70
background
#FDFEFD
surface
#F9FBF7
border
#D2D4D0
text
#131411
muted
#828381

Preview Lab

Preview with #AFC992

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

Preview Lab → · Contrast checker → · Palette generator →

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