#AFCC44#AFCC44

#AFCC44 is a light, vivid yellow-green. Relative luminance 0.527; OKLCH L 79.8% C 0.162 H 120.6°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#AFCC44
RGBrgb(175, 204, 68)
HSLhsl(73, 57%, 53%)
HSVhsv(73, 67%, 80%)
CMYKcmyk(14.2%, 0%, 66.7%, 20%)
CIE-LABlab(77.71, -28.23, 61.79)
CIE-LCHlch(77.71, 67.93, 114.56°)
OKLaboklab(79.82% -0.0825 0.1396)
OKLCHoklch(79.82% 0.162 120.6)
XYZxyz(40.3161, 52.7171, 13.5192)
Luminance0.5272 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC44 #6144CC
analogous
#CCA544 #AFCC44 #6BCC44
triadic
#AFCC44 #44AFCC #CC44AF
tetradic
#AFCC44 #44CCA5 #6144CC #CC446B
square
#AFCC44 #44CCA5 #6144CC #CC446B
split-complementary
#AFCC44 #446BCC #A544CC
monochromatic
#637620 #8CA62D #AFCC44 #C4D974 #D8E6A4

Accessibility & contrast

On white

1.82
#AFCC44 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#AFCC44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC44
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC44#FFFFFF#000000##000000
##AFCC441.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C030
Deuteranopia (green-blind)
#D5C04E
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc44;
/* rgb */ color: rgb(175, 204, 68);
/* oklch */ color: oklch(79.8% 0.162 120.6);
Tailwind
colors: {
  custom: {
    50: '#cadb7f',
    500: '#afcc44',
    950: '#000000',
  },
}
SCSS
$custom: #afcc44;
$custom-light: #cadb7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc44",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 68
  },
  "hsl": {
    "h": 72.794,
    "s": 57.143,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79815,
    "c": 0.16221,
    "h": 120.6
  },
  "luminance": 0.52717
}

Semantic roles & 50–950 ramp

primary
#AFCC44
secondary
#45367E
accent
#47E068
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC44

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

Preview Lab → · Contrast checker → · Palette generator →

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