#AFC666#AFC666

#AFC666 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.8% C 0.125 H 120.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#AFC666
RGBrgb(175, 198, 102)
HSLhsl(74, 46%, 59%)
HSVhsv(74, 48%, 78%)
CMYKcmyk(11.6%, 0%, 48.5%, 22.4%)
CIE-LABlab(76.35, -22.53, 45.19)
CIE-LCHlch(76.35, 50.49, 116.50°)
OKLaboklab(78.83% -0.0634 0.1078)
OKLCHoklch(78.83% 0.125 120.4)
XYZxyz(40.2718, 50.4615, 20.1863)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC666 #7D66C6
analogous
#C6AD66 #AFC666 #7FC666
triadic
#AFC666 #66AFC6 #C666AF
tetradic
#AFC666 #66C6AD #7D66C6 #C6667F
square
#AFC666 #66C6AD #7D66C6 #C6667F
split-complementary
#AFC666 #667FC6 #AD66C6
monochromatic
#6E8130 #94AE41 #AFC666 #C6D793 #DEE7BF

Accessibility & contrast

On white

1.89
#AFC666 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#AFC666 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC666
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC666#FFFFFF#000000##000000
##AFC6661.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD5E
Deuteranopia (green-blind)
#CDBD6B
Tritanopia (blue-blind)
#B7BDB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc666;
/* rgb */ color: rgb(175, 198, 102);
/* oklch */ color: oklch(78.8% 0.125 120.4);
Tailwind
colors: {
  custom: {
    50: '#c8d794',
    500: '#afc666',
    950: '#000000',
  },
}
SCSS
$custom: #afc666;
$custom-light: #c8d794;
$custom-dark: #000000;
JSON
{
  "hex": "#afc666",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 102
  },
  "hsl": {
    "h": 74.375,
    "s": 45.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.7883,
    "c": 0.12508,
    "h": 120.4
  },
  "luminance": 0.50461
}

Semantic roles & 50–950 ramp

primary
#AFC666
secondary
#574789
accent
#52D572
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC666

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

Preview Lab → · Contrast checker → · Palette generator →

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