#AFD455#AFD455

#AFD455 is a light, vivid yellow-green. Relative luminance 0.569; OKLCH L 81.8% C 0.159 H 123.6°. Best body text is #000000 at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#AFD455
RGBrgb(175, 212, 85)
HSLhsl(77, 60%, 58%)
HSVhsv(77, 60%, 83%)
CMYKcmyk(17.5%, 0%, 59.9%, 16.9%)
CIE-LABlab(80.10, -30.79, 57.34)
CIE-LCHlch(80.10, 65.09, 118.23°)
OKLaboklab(81.79% -0.0881 0.1325)
OKLCHoklch(81.79% 0.159 123.6)
XYZxyz(42.8626, 56.8566, 17.3089)
Luminance0.5686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFD455 #7A55D4
analogous
#D4B955 #AFD455 #6FD455
triadic
#AFD455 #55AFD4 #D455AF
tetradic
#AFD455 #55D4B9 #7A55D4 #D4556F
square
#AFD455 #55D4B9 #7A55D4 #D4556F
split-complementary
#AFD455 #556FD4 #B955D4
monochromatic
#6D8B23 #93BC30 #AFD455 #C6E086 #DDEDB7

Accessibility & contrast

On white

1.70
#AFD455 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.37
#AFD455 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFD455
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFD455#FFFFFF#000000##000000
##AFD4551.001.7012.3712.37
#FFFFFF1.701.0021.0021.00
#00000012.3721.001.001.00
##00000012.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC847
Deuteranopia (green-blind)
#DAC65E
Tritanopia (blue-blind)
#B7CAB9
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #afd455;
/* rgb */ color: rgb(175, 212, 85);
/* oklch */ color: oklch(81.8% 0.159 123.6);
Tailwind
colors: {
  custom: {
    50: '#cae18a',
    500: '#afd455',
    950: '#000000',
  },
}
SCSS
$custom: #afd455;
$custom-light: #cae18a;
$custom-dark: #000000;
JSON
{
  "hex": "#afd455",
  "rgb": {
    "r": 175,
    "g": 212,
    "b": 85
  },
  "hsl": {
    "h": 77.48,
    "s": 59.624,
    "l": 58.235
  },
  "oklch": {
    "l": 0.81786,
    "c": 0.15908,
    "h": 123.6
  },
  "luminance": 0.56857
}

Semantic roles & 50–950 ramp

primary
#AFD455
secondary
#553C91
accent
#45E373
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFD455

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

Preview Lab → · Contrast checker → · Palette generator →

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