#AFD164#AFD164

#AFD164 is a light, vivid yellow-green. Relative luminance 0.556; OKLCH L 81.3% C 0.142 H 123.9°. Best body text is #000000 at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#AFD164
RGBrgb(175, 209, 100)
HSLhsl(79, 54%, 61%)
HSVhsv(79, 52%, 82%)
CMYKcmyk(16.3%, 0%, 52.2%, 18%)
CIE-LABlab(79.41, -28.05, 49.79)
CIE-LCHlch(79.41, 57.15, 119.39°)
OKLaboklab(81.28% -0.0791 0.1178)
OKLCHoklch(81.28% 0.142 123.9)
XYZxyz(42.7800, 55.6347, 20.5389)
Luminance0.5564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD164 #8664D1
analogous
#D1BD64 #AFD164 #78D164
triadic
#AFD164 #64AFD1 #D164AF
tetradic
#AFD164 #64D1BD #8664D1 #D16478
square
#AFD164 #64D1BD #8664D1 #D16478
split-complementary
#AFD164 #6478D1 #BD64D1
monochromatic
#70902B #95BF39 #AFD164 #C7DF93 #E0EDC2

Accessibility & contrast

On white

1.73
#AFD164 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.13
#AFD164 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD164
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD164#FFFFFF#000000##000000
##AFD1641.001.7312.1312.13
#FFFFFF1.731.0021.0021.00
#00000012.1321.001.001.00
##00000012.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65A
Deuteranopia (green-blind)
#D7C46B
Tritanopia (blue-blind)
#B6C8B8
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd164;
/* rgb */ color: rgb(175, 209, 100);
/* oklch */ color: oklch(81.3% 0.142 123.9);
Tailwind
colors: {
  custom: {
    50: '#c9df93',
    500: '#afd164',
    950: '#000000',
  },
}
SCSS
$custom: #afd164;
$custom-light: #c9df93;
$custom-dark: #000000;
JSON
{
  "hex": "#afd164",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 100
  },
  "hsl": {
    "h": 78.716,
    "s": 54.229,
    "l": 60.588
  },
  "oklch": {
    "l": 0.81276,
    "c": 0.14183,
    "h": 123.9
  },
  "luminance": 0.55635
}

Semantic roles & 50–950 ramp

primary
#AFD164
secondary
#5D4396
accent
#24C255
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD164

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

Preview Lab → · Contrast checker → · Palette generator →

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