#AFCC48#AFCC48

#AFCC48 is a light, vivid yellow-green. Relative luminance 0.528; OKLCH L 79.8% C 0.159 H 120.7°. Best body text is #000000 at 11.55:1 contrast (WCAG AA passes).

Color values

HEX#AFCC48
RGBrgb(175, 204, 72)
HSLhsl(73, 56%, 54%)
HSVhsv(73, 65%, 80%)
CMYKcmyk(14.2%, 0%, 64.7%, 20%)
CIE-LABlab(77.74, -27.97, 60.23)
CIE-LCHlch(77.74, 66.41, 114.91°)
OKLaboklab(79.85% -0.0814 0.1369)
OKLCHoklch(79.85% 0.159 120.7)
XYZxyz(40.4423, 52.7676, 14.1842)
Luminance0.5277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC48 #6548CC
analogous
#CCA748 #AFCC48 #6DCC48
triadic
#AFCC48 #48AFCC #CC48AF
tetradic
#AFCC48 #48CCA7 #6548CC #CC486D
square
#AFCC48 #48CCA7 #6548CC #CC486D
split-complementary
#AFCC48 #486DCC #A748CC
monochromatic
#657821 #8DA82F #AFCC48 #C4D978 #D9E7A8

Accessibility & contrast

On white

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

On black

11.55
#AFCC48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCC48
11.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCC48#FFFFFF#000000##000000
##AFCC481.001.8211.5511.55
#FFFFFF1.821.0021.0021.00
#00000011.5521.001.001.00
##00000011.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcc48;
/* rgb */ color: rgb(175, 204, 72);
/* oklch */ color: oklch(79.8% 0.159 120.7);
Tailwind
colors: {
  custom: {
    50: '#cadb81',
    500: '#afcc48',
    950: '#000000',
  },
}
SCSS
$custom: #afcc48;
$custom-light: #cadb81;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc48",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 72
  },
  "hsl": {
    "h": 73.182,
    "s": 56.41,
    "l": 54.118
  },
  "oklch": {
    "l": 0.79849,
    "c": 0.15931,
    "h": 120.7
  },
  "luminance": 0.52768
}

Semantic roles & 50–950 ramp

primary
#AFCC48
secondary
#483880
accent
#48E069
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCC48

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

Preview Lab → · Contrast checker → · Palette generator →

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