#AFCC47#AFCC47

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

Color values

HEX#AFCC47
RGBrgb(175, 204, 71)
HSLhsl(73, 57%, 54%)
HSVhsv(73, 65%, 80%)
CMYKcmyk(14.2%, 0%, 65.2%, 20%)
CIE-LABlab(77.73, -28.04, 60.62)
CIE-LCHlch(77.73, 66.79, 114.82°)
OKLaboklab(79.84% -0.0817 0.1376)
OKLCHoklch(79.84% 0.16 120.7)
XYZxyz(40.4100, 52.7547, 14.0138)
Luminance0.5275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCC47 #6447CC
analogous
#CCA747 #AFCC47 #6DCC47
triadic
#AFCC47 #47AFCC #CC47AF
tetradic
#AFCC47 #47CCA7 #6447CC #CC476D
square
#AFCC47 #47CCA7 #6447CC #CC476D
split-complementary
#AFCC47 #476DCC #A747CC
monochromatic
#657721 #8DA72E #AFCC47 #C4D977 #D9E7A7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCC47#FFFFFF#000000##000000
##AFCC471.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)
#D8C035
Deuteranopia (green-blind)
#D5C051
Tritanopia (blue-blind)
#B8C2B1
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #afcc47;
/* rgb */ color: rgb(175, 204, 71);
/* oklch */ color: oklch(79.8% 0.160 120.7);
Tailwind
colors: {
  custom: {
    50: '#cadb81',
    500: '#afcc47',
    950: '#000000',
  },
}
SCSS
$custom: #afcc47;
$custom-light: #cadb81;
$custom-dark: #000000;
JSON
{
  "hex": "#afcc47",
  "rgb": {
    "r": 175,
    "g": 204,
    "b": 71
  },
  "hsl": {
    "h": 73.083,
    "s": 56.596,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7984,
    "c": 0.16005,
    "h": 120.7
  },
  "luminance": 0.52755
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFCC47

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

Preview Lab → · Contrast checker → · Palette generator →

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