#AFD668#AFD668

#AFD668 is a very light, vivid yellow-green. Relative luminance 0.582; OKLCH L 82.5% C 0.145 H 125.6°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#AFD668
RGBrgb(175, 214, 104)
HSLhsl(81, 57%, 62%)
HSVhsv(81, 51%, 84%)
CMYKcmyk(18.2%, 0%, 51.4%, 16.1%)
CIE-LABlab(80.85, -30.02, 49.63)
CIE-LCHlch(80.85, 58.01, 121.17°)
OKLaboklab(82.46% -0.0843 0.1177)
OKLCHoklch(82.46% 0.145 125.6)
XYZxyz(44.2244, 58.2061, 21.9990)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD668 #8F68D6
analogous
#D6C668 #AFD668 #78D668
triadic
#AFD668 #68AFD6 #D668AF
tetradic
#AFD668 #68D6C6 #8F68D6 #D66878
square
#AFD668 #68D6C6 #8F68D6 #D66878
split-complementary
#AFD668 #6878D6 #C668D6
monochromatic
#729A2A #95C938 #AFD668 #C8E398 #E2F0C8

Accessibility & contrast

On white

1.66
#AFD668 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#AFD668 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD668
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD668#FFFFFF#000000##000000
##AFD6681.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA5E
Deuteranopia (green-blind)
#DAC86F
Tritanopia (blue-blind)
#B5CDBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd668;
/* rgb */ color: rgb(175, 214, 104);
/* oklch */ color: oklch(82.5% 0.145 125.6);
Tailwind
colors: {
  custom: {
    50: '#c9e296',
    500: '#afd668',
    950: '#000000',
  },
}
SCSS
$custom: #afd668;
$custom-light: #c9e296;
$custom-dark: #000000;
JSON
{
  "hex": "#afd668",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 104
  },
  "hsl": {
    "h": 81.273,
    "s": 57.292,
    "l": 62.353
  },
  "oklch": {
    "l": 0.82456,
    "c": 0.14478,
    "h": 125.6
  },
  "luminance": 0.58207
}

Semantic roles & 50–950 ramp

primary
#AFD668
secondary
#64449E
accent
#21C55B
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD668

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

Preview Lab → · Contrast checker → · Palette generator →

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