#AFD654#AFD654

#AFD654 is a very light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.2% C 0.162 H 124.1°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#AFD654
RGBrgb(175, 214, 84)
HSLhsl(78, 61%, 58%)
HSVhsv(78, 61%, 84%)
CMYKcmyk(18.2%, 0%, 60.7%, 16.1%)
CIE-LABlab(80.65, -31.80, 58.39)
CIE-LCHlch(80.65, 66.49, 118.58°)
OKLaboklab(82.23% -0.091 0.1346)
OKLCHoklch(82.23% 0.162 124.1)
XYZxyz(43.3263, 57.8469, 17.2688)
Luminance0.5785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD654 #7B54D6
analogous
#D6BC54 #AFD654 #6ED654
triadic
#AFD654 #54AFD6 #D654AF
tetradic
#AFD654 #54D6BC #7B54D6 #D6546E
square
#AFD654 #54D6BC #7B54D6 #D6546E
split-complementary
#AFD654 #546ED6 #BC54D6
monochromatic
#6D8E22 #93BF2E #AFD654 #C6E285 #DDEEB7

Accessibility & contrast

On white

1.67
#AFD654 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#AFD654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD654
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD654#FFFFFF#000000##000000
##AFD6541.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C945
Deuteranopia (green-blind)
#DCC85D
Tritanopia (blue-blind)
#B7CCBA
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #afd654;
/* rgb */ color: rgb(175, 214, 84);
/* oklch */ color: oklch(82.2% 0.162 124.1);
Tailwind
colors: {
  custom: {
    50: '#cae289',
    500: '#afd654',
    950: '#000000',
  },
}
SCSS
$custom: #afd654;
$custom-light: #cae289;
$custom-dark: #000000;
JSON
{
  "hex": "#afd654",
  "rgb": {
    "r": 175,
    "g": 214,
    "b": 84
  },
  "hsl": {
    "h": 78,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82231,
    "c": 0.16244,
    "h": 124.1
  },
  "luminance": 0.57847
}

Semantic roles & 50–950 ramp

primary
#AFD654
secondary
#553B93
accent
#43E474
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD654

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

Preview Lab → · Contrast checker → · Palette generator →

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