#AFCF66#AFCF66

#AFCF66 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.9% C 0.137 H 123.5°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#AFCF66
RGBrgb(175, 207, 102)
HSLhsl(78, 52%, 61%)
HSVhsv(78, 51%, 81%)
CMYKcmyk(15.5%, 0%, 50.7%, 18.8%)
CIE-LABlab(78.87, -26.90, 48.21)
CIE-LCHlch(78.87, 55.20, 119.16°)
OKLaboklab(80.85% -0.0757 0.1145)
OKLCHoklch(80.85% 0.137 123.5)
XYZxyz(42.3904, 54.6987, 20.8925)
Luminance0.5470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF66 #8666CF
analogous
#CFBB66 #AFCF66 #7ACF66
triadic
#AFCF66 #66AFCF #CF66AF
tetradic
#AFCF66 #66CFBB #8666CF #CF667A
square
#AFCF66 #66CFBB #8666CF #CF667A
split-complementary
#AFCF66 #667ACF #BB66CF
monochromatic
#708E2D #95BD3B #AFCF66 #C7DE95 #E0ECC3

Accessibility & contrast

On white

1.76
#AFCF66 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#AFCF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF66
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF66#FFFFFF#000000##000000
##AFCF661.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45C
Deuteranopia (green-blind)
#D5C36C
Tritanopia (blue-blind)
#B6C6B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf66;
/* rgb */ color: rgb(175, 207, 102);
/* oklch */ color: oklch(80.9% 0.137 123.5);
Tailwind
colors: {
  custom: {
    50: '#c9dd94',
    500: '#afcf66',
    950: '#000000',
  },
}
SCSS
$custom: #afcf66;
$custom-light: #c9dd94;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf66",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 102
  },
  "hsl": {
    "h": 78.286,
    "s": 52.239,
    "l": 60.588
  },
  "oklch": {
    "l": 0.80851,
    "c": 0.13721,
    "h": 123.5
  },
  "luminance": 0.54699
}

Semantic roles & 50–950 ramp

primary
#AFCF66
secondary
#5D4594
accent
#26C055
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF66

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

Preview Lab → · Contrast checker → · Palette generator →

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