#AFC663#AFC663

#AFC663 is a light, vivid yellow-green. Relative luminance 0.504; OKLCH L 78.8% C 0.128 H 120.2°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#AFC663
RGBrgb(175, 198, 99)
HSLhsl(74, 46%, 58%)
HSVhsv(74, 50%, 78%)
CMYKcmyk(11.6%, 0%, 50%, 22.4%)
CIE-LABlab(76.32, -22.83, 46.59)
CIE-LCHlch(76.32, 51.88, 116.10°)
OKLaboklab(78.79% -0.0645 0.1107)
OKLCHoklch(78.79% 0.128 120.2)
XYZxyz(40.1257, 50.4031, 19.4169)
Luminance0.5040 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC663 #7A63C6
analogous
#C6AB63 #AFC663 #7DC663
triadic
#AFC663 #63AFC6 #C663AF
tetradic
#AFC663 #63C6AB #7A63C6 #C6637D
square
#AFC663 #63C6AB #7A63C6 #C6637D
split-complementary
#AFC663 #637DC6 #AB63C6
monochromatic
#6D802F #93AD3F #AFC663 #C6D690 #DDE7BD

Accessibility & contrast

On white

1.90
#AFC663 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#AFC663 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC663
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC663#FFFFFF#000000##000000
##AFC6631.001.9011.0811.08
#FFFFFF1.901.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BC5A
Deuteranopia (green-blind)
#CEBC69
Tritanopia (blue-blind)
#B7BDAF
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc663;
/* rgb */ color: rgb(175, 198, 99);
/* oklch */ color: oklch(78.8% 0.128 120.2);
Tailwind
colors: {
  custom: {
    50: '#c9d792',
    500: '#afc663',
    950: '#000000',
  },
}
SCSS
$custom: #afc663;
$custom-light: #c9d792;
$custom-dark: #000000;
JSON
{
  "hex": "#afc663",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 99
  },
  "hsl": {
    "h": 73.939,
    "s": 46.479,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7879,
    "c": 0.1281,
    "h": 120.2
  },
  "luminance": 0.50403
}

Semantic roles & 50–950 ramp

primary
#AFC663
secondary
#554588
accent
#52D670
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC663

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

Preview Lab → · Contrast checker → · Palette generator →

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