#AFD755#AFD755

#AFD755 is a very light, vivid yellow-green. Relative luminance 0.584; OKLCH L 82.5% C 0.163 H 124.4°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#AFD755
RGBrgb(175, 215, 85)
HSLhsl(78, 62%, 59%)
HSVhsv(78, 60%, 84%)
CMYKcmyk(18.6%, 0%, 60.5%, 15.7%)
CIE-LABlab(80.94, -32.19, 58.28)
CIE-LCHlch(80.94, 66.58, 118.92°)
OKLaboklab(82.47% -0.092 0.1345)
OKLCHoklch(82.47% 0.163 124.4)
XYZxyz(43.6196, 58.3704, 17.5612)
Luminance0.5837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD755 #7D55D7
analogous
#D7BE55 #AFD755 #6ED755
triadic
#AFD755 #55AFD7 #D755AF
tetradic
#AFD755 #55D7BE #7D55D7 #D7556E
square
#AFD755 #55D7BE #7D55D7 #D7556E
split-complementary
#AFD755 #556ED7 #BE55D7
monochromatic
#6E9022 #94C12D #AFD755 #C6E387 #DEEEB8

Accessibility & contrast

On white

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

On black

12.67
#AFD755 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD755
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD755#FFFFFF#000000##000000
##AFD7551.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA46
Deuteranopia (green-blind)
#DDC95E
Tritanopia (blue-blind)
#B6CDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd755;
/* rgb */ color: rgb(175, 215, 85);
/* oklch */ color: oklch(82.5% 0.163 124.4);
Tailwind
colors: {
  custom: {
    50: '#cae38a',
    500: '#afd755',
    950: '#000000',
  },
}
SCSS
$custom: #afd755;
$custom-light: #cae38a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd755",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 85
  },
  "hsl": {
    "h": 78.462,
    "s": 61.905,
    "l": 58.824
  },
  "oklch": {
    "l": 0.82468,
    "c": 0.1629,
    "h": 124.4
  },
  "luminance": 0.58371
}

Semantic roles & 50–950 ramp

primary
#AFD755
secondary
#573B95
accent
#43E575
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD755

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

Preview Lab → · Contrast checker → · Palette generator →

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