#AFD667#AFD667

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

Color values

HEX#AFD667
RGBrgb(175, 214, 103)
HSLhsl(81, 58%, 62%)
HSVhsv(81, 52%, 84%)
CMYKcmyk(18.2%, 0%, 51.9%, 16.1%)
CIE-LABlab(80.84, -30.12, 50.09)
CIE-LCHlch(80.84, 58.45, 121.02°)
OKLaboklab(82.44% -0.0846 0.1187)
OKLCHoklch(82.44% 0.146 125.5)
XYZxyz(44.1739, 58.1859, 21.7331)
Luminance0.5819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD667 #8E67D6
analogous
#D6C667 #AFD667 #78D667
triadic
#AFD667 #67AFD6 #D667AF
tetradic
#AFD667 #67D6C6 #8E67D6 #D66778
square
#AFD667 #67D6C6 #8E67D6 #D66778
split-complementary
#AFD667 #6778D6 #C667D6
monochromatic
#729929 #96C937 #AFD667 #C8E397 #E2F0C7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD667#FFFFFF#000000##000000
##AFD6671.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)
#E0CA5D
Deuteranopia (green-blind)
#DBC86E
Tritanopia (blue-blind)
#B5CDBD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd667;
/* rgb */ color: rgb(175, 214, 103);
/* oklch */ color: oklch(82.4% 0.146 125.5);
Tailwind
colors: {
  custom: {
    50: '#c9e295',
    500: '#afd667',
    950: '#000000',
  },
}
SCSS
$custom: #afd667;
$custom-light: #c9e295;
$custom-dark: #000000;
JSON
{
  "hex": "#afd667",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 103
  },
  "hsl": {
    "h": 81.081,
    "s": 57.513,
    "l": 62.157
  },
  "oklch": {
    "l": 0.82444,
    "c": 0.14573,
    "h": 125.5
  },
  "luminance": 0.58186
}

Semantic roles & 50–950 ramp

primary
#AFD667
secondary
#63439E
accent
#20C55A
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD667

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

Preview Lab → · Contrast checker → · Palette generator →

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