#AFCA66#AFCA66

#AFCA66 is a light, vivid yellow-green. Relative luminance 0.523; OKLCH L 79.7% C 0.130 H 121.9°. Best body text is #000000 at 11.46:1 contrast (WCAG AA passes).

Color values

HEX#AFCA66
RGBrgb(175, 202, 102)
HSLhsl(76, 49%, 60%)
HSVhsv(76, 50%, 79%)
CMYKcmyk(13.4%, 0%, 49.5%, 20.8%)
CIE-LABlab(77.47, -24.48, 46.53)
CIE-LCHlch(77.47, 52.58, 117.75°)
OKLaboklab(79.73% -0.0689 0.1108)
OKLCHoklch(79.73% 0.13 121.9)
XYZxyz(41.1982, 52.3143, 20.4951)
Luminance0.5231 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA66 #8166CA
analogous
#CAB366 #AFCA66 #7DCA66
triadic
#AFCA66 #66AFCA #CA66AF
tetradic
#AFCA66 #66CAB3 #8166CA #CA667D
square
#AFCA66 #66CAB3 #8166CA #CA667D
split-complementary
#AFCA66 #667DCA #B366CA
monochromatic
#6F872F #95B43E #AFCA66 #C7DA93 #DFE9C1

Accessibility & contrast

On white

1.83
#AFCA66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.46
#AFCA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA66
11.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA66#FFFFFF#000000##000000
##AFCA661.001.8311.4611.46
#FFFFFF1.831.0021.0021.00
#00000011.4621.001.001.00
##00000011.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05D
Deuteranopia (green-blind)
#D1BF6C
Tritanopia (blue-blind)
#B6C1B3
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca66;
/* rgb */ color: rgb(175, 202, 102);
/* oklch */ color: oklch(79.7% 0.130 121.9);
Tailwind
colors: {
  custom: {
    50: '#c9da94',
    500: '#afca66',
    950: '#000000',
  },
}
SCSS
$custom: #afca66;
$custom-light: #c9da94;
$custom-dark: #000000;
JSON
{
  "hex": "#afca66",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 102
  },
  "hsl": {
    "h": 76.2,
    "s": 48.544,
    "l": 59.608
  },
  "oklch": {
    "l": 0.79727,
    "c": 0.13046,
    "h": 121.9
  },
  "luminance": 0.52314
}

Semantic roles & 50–950 ramp

primary
#AFCA66
secondary
#5A468E
accent
#50D875
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFCA66

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

Preview Lab → · Contrast checker → · Palette generator →

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