#AFD955#AFD955

#AFD955 is a very light, vivid yellow-green. Relative luminance 0.594; OKLCH L 82.9% C 0.165 H 124.8°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#AFD955
RGBrgb(175, 217, 85)
HSLhsl(79, 63%, 59%)
HSVhsv(79, 61%, 85%)
CMYKcmyk(19.4%, 0%, 60.8%, 14.9%)
CIE-LABlab(81.51, -33.12, 58.90)
CIE-LCHlch(81.51, 67.57, 119.35°)
OKLaboklab(82.92% -0.0945 0.1358)
OKLCHoklch(82.92% 0.165 124.8)
XYZxyz(44.1319, 59.3951, 17.7319)
Luminance0.5940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD955 #7F55D9
analogous
#D9C155 #AFD955 #6DD955
triadic
#AFD955 #55AFD9 #D955AF
tetradic
#AFD955 #55D9C1 #7F55D9 #D9556D
square
#AFD955 #55D9C1 #7F55D9 #D9556D
split-complementary
#AFD955 #556DD9 #C155D9
monochromatic
#6F9321 #94C52C #AFD955 #C7E487 #DEEFB9

Accessibility & contrast

On white

1.63
#AFD955 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.88
#AFD955 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD955
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD955#FFFFFF#000000##000000
##AFD9551.001.6312.8812.88
#FFFFFF1.631.0021.0021.00
#00000012.8821.001.001.00
##00000012.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC46
Deuteranopia (green-blind)
#DECA5E
Tritanopia (blue-blind)
#B6CFBD
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afd955;
/* rgb */ color: rgb(175, 217, 85);
/* oklch */ color: oklch(82.9% 0.165 124.8);
Tailwind
colors: {
  custom: {
    50: '#cae58a',
    500: '#afd955',
    950: '#000000',
  },
}
SCSS
$custom: #afd955;
$custom-light: #cae58a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd955",
  "rgb": {
    "r": 175,
    "g": 217,
    "b": 85
  },
  "hsl": {
    "h": 79.091,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82924,
    "c": 0.16545,
    "h": 124.8
  },
  "luminance": 0.59396
}

Semantic roles & 50–950 ramp

primary
#AFD955
secondary
#583A98
accent
#41E676
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD955

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

Preview Lab → · Contrast checker → · Palette generator →

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