#AFD754#AFD754

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

Color values

HEX#AFD754
RGBrgb(175, 215, 84)
HSLhsl(78, 62%, 59%)
HSVhsv(78, 61%, 84%)
CMYKcmyk(18.6%, 0%, 60.9%, 15.7%)
CIE-LABlab(80.94, -32.27, 58.69)
CIE-LCHlch(80.94, 66.98, 118.80°)
OKLaboklab(82.46% -0.0923 0.1352)
OKLCHoklch(82.46% 0.164 124.3)
XYZxyz(43.5801, 58.3546, 17.3534)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD754 #7C54D7
analogous
#D7BD54 #AFD754 #6DD754
triadic
#AFD754 #54AFD7 #D754AF
tetradic
#AFD754 #54D7BD #7C54D7 #D7546D
square
#AFD754 #54D7BD #7C54D7 #D7546D
split-complementary
#AFD754 #546DD7 #BD54D7
monochromatic
#6E8F21 #94C12D #AFD754 #C6E386 #DDEEB7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFD754#FFFFFF#000000##000000
##AFD7541.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)
#E2CA45
Deuteranopia (green-blind)
#DDC95D
Tritanopia (blue-blind)
#B6CDBB
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #afd754;
/* rgb */ color: rgb(175, 215, 84);
/* oklch */ color: oklch(82.5% 0.164 124.3);
Tailwind
colors: {
  custom: {
    50: '#cae389',
    500: '#afd754',
    950: '#000000',
  },
}
SCSS
$custom: #afd754;
$custom-light: #cae389;
$custom-dark: #000000;
JSON
{
  "hex": "#afd754",
  "rgb": {
    "r": 175,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 78.321,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82459,
    "c": 0.16371,
    "h": 124.3
  },
  "luminance": 0.58355
}

Semantic roles & 50–950 ramp

primary
#AFD754
secondary
#563B95
accent
#43E574
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFD754

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

Preview Lab → · Contrast checker → · Palette generator →

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