#AFC668#AFC668

#AFC668 is a light, vivid yellow-green. Relative luminance 0.505; OKLCH L 78.9% C 0.123 H 120.6°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#AFC668
RGBrgb(175, 198, 104)
HSLhsl(75, 45%, 59%)
HSVhsv(75, 47%, 78%)
CMYKcmyk(11.6%, 0%, 47.5%, 22.4%)
CIE-LABlab(76.38, -22.32, 44.24)
CIE-LCHlch(76.38, 49.55, 116.77°)
OKLaboklab(78.86% -0.0626 0.1059)
OKLCHoklch(78.86% 0.123 120.6)
XYZxyz(40.3722, 50.5017, 20.7149)
Luminance0.5050 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC668 #7F68C6
analogous
#C6AE68 #AFC668 #80C668
triadic
#AFC668 #68AFC6 #C668AF
tetradic
#AFC668 #68C6AE #7F68C6 #C66880
square
#AFC668 #68C6AE #7F68C6 #C66880
split-complementary
#AFC668 #6880C6 #AE68C6
monochromatic
#6F8231 #94AF42 #AFC668 #C7D794 #DEE8C1

Accessibility & contrast

On white

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

On black

11.10
#AFC668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC668
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC668#FFFFFF#000000##000000
##AFC6681.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BD60
Deuteranopia (green-blind)
#CDBD6D
Tritanopia (blue-blind)
#B6BEB0
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #afc668;
/* rgb */ color: rgb(175, 198, 104);
/* oklch */ color: oklch(78.9% 0.123 120.6);
Tailwind
colors: {
  custom: {
    50: '#c8d795',
    500: '#afc668',
    950: '#000000',
  },
}
SCSS
$custom: #afc668;
$custom-light: #c8d795;
$custom-dark: #000000;
JSON
{
  "hex": "#afc668",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 104
  },
  "hsl": {
    "h": 74.681,
    "s": 45.192,
    "l": 59.216
  },
  "oklch": {
    "l": 0.78858,
    "c": 0.12303,
    "h": 120.6
  },
  "luminance": 0.50502
}

Semantic roles & 50–950 ramp

primary
#AFC668
secondary
#58488A
accent
#53D573
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140D
muted
#83837F

Preview Lab

Preview with #AFC668

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

Preview Lab → · Contrast checker → · Palette generator →

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