#AFD567#AFD567

#AFD567 is a very light, vivid yellow-green. Relative luminance 0.577; OKLCH L 82.2% C 0.144 H 125.2°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#AFD567
RGBrgb(175, 213, 103)
HSLhsl(81, 57%, 62%)
HSVhsv(81, 52%, 84%)
CMYKcmyk(17.8%, 0%, 51.6%, 16.5%)
CIE-LABlab(80.56, -29.65, 49.75)
CIE-LCHlch(80.56, 57.92, 120.79°)
OKLaboklab(82.22% -0.0833 0.1179)
OKLCHoklch(82.22% 0.144 125.2)
XYZxyz(43.9216, 57.6813, 21.6490)
Luminance0.5768 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD567 #8D67D5
analogous
#D5C467 #AFD567 #78D567
triadic
#AFD567 #67AFD5 #D567AF
tetradic
#AFD567 #67D5C4 #8D67D5 #D56778
square
#AFD567 #67D5C4 #8D67D5 #D56778
split-complementary
#AFD567 #6778D5 #C467D5
monochromatic
#72982A #96C837 #AFD567 #C8E297 #E1EFC7

Accessibility & contrast

On white

1.68
#AFD567 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#AFD567 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD567
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD567#FFFFFF#000000##000000
##AFD5671.001.6812.5412.54
#FFFFFF1.681.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95D
Deuteranopia (green-blind)
#DAC76E
Tritanopia (blue-blind)
#B5CCBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd567;
/* rgb */ color: rgb(175, 213, 103);
/* oklch */ color: oklch(82.2% 0.144 125.2);
Tailwind
colors: {
  custom: {
    50: '#c9e295',
    500: '#afd567',
    950: '#000000',
  },
}
SCSS
$custom: #afd567;
$custom-light: #c9e295;
$custom-dark: #000000;
JSON
{
  "hex": "#afd567",
  "rgb": {
    "r": 175,
    "g": 213,
    "b": 103
  },
  "hsl": {
    "h": 80.727,
    "s": 56.701,
    "l": 61.961
  },
  "oklch": {
    "l": 0.82218,
    "c": 0.14437,
    "h": 125.2
  },
  "luminance": 0.57682
}

Semantic roles & 50–950 ramp

primary
#AFD567
secondary
#62449D
accent
#21C45A
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFD567

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

Preview Lab → · Contrast checker → · Palette generator →

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