#AFD168#AFD168

#AFD168 is a light, vivid yellow-green. Relative luminance 0.557; OKLCH L 81.3% C 0.138 H 124.2°. Best body text is #000000 at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#AFD168
RGBrgb(175, 209, 104)
HSLhsl(79, 53%, 61%)
HSVhsv(79, 50%, 82%)
CMYKcmyk(16.3%, 0%, 50.2%, 18%)
CIE-LABlab(79.45, -27.65, 47.96)
CIE-LCHlch(79.45, 55.36, 119.97°)
OKLaboklab(81.33% -0.0776 0.1141)
OKLCHoklch(81.33% 0.138 124.2)
XYZxyz(42.9784, 55.7141, 21.5837)
Luminance0.5571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD168 #8A68D1
analogous
#D1BF68 #AFD168 #7BD168
triadic
#AFD168 #68AFD1 #D168AF
tetradic
#AFD168 #68D1BF #8A68D1 #D1687B
square
#AFD168 #68D1BF #8A68D1 #D1687B
split-complementary
#AFD168 #687BD1 #BF68D1
monochromatic
#71922D #96C13B #AFD168 #C8DF97 #E1EEC6

Accessibility & contrast

On white

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

On black

12.14
#AFD168 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD168
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD168#FFFFFF#000000##000000
##AFD1681.001.7312.1412.14
#FFFFFF1.731.0021.0021.00
#00000012.1421.001.001.00
##00000012.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC65F
Deuteranopia (green-blind)
#D6C56E
Tritanopia (blue-blind)
#B5C8B9
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #afd168;
/* rgb */ color: rgb(175, 209, 104);
/* oklch */ color: oklch(81.3% 0.138 124.2);
Tailwind
colors: {
  custom: {
    50: '#c9df95',
    500: '#afd168',
    950: '#000000',
  },
}
SCSS
$custom: #afd168;
$custom-light: #c9df95;
$custom-dark: #000000;
JSON
{
  "hex": "#afd168",
  "rgb": {
    "r": 175,
    "g": 209,
    "b": 104
  },
  "hsl": {
    "h": 79.429,
    "s": 53.299,
    "l": 61.373
  },
  "oklch": {
    "l": 0.81327,
    "c": 0.13798,
    "h": 124.2
  },
  "luminance": 0.55714
}

Semantic roles & 50–950 ramp

primary
#AFD168
secondary
#604598
accent
#25C157
background
#FEFEFC
surface
#FAFCF5
border
#D3D5CF
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD168

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

Preview Lab → · Contrast checker → · Palette generator →

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