#AFFC54#AFFC54

#AFFC54 is a very light, highly saturated yellow-green. Relative luminance 0.794; OKLCH L 90.9% C 0.210 H 130.8°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#AFFC54
RGBrgb(175, 252, 84)
HSLhsl(88, 97%, 66%)
HSVhsv(88, 67%, 99%)
CMYKcmyk(30.6%, 0%, 66.7%, 1.2%)
CIE-LABlab(91.40, -48.60, 69.89)
CIE-LCHlch(91.40, 85.12, 124.81°)
OKLaboklab(90.94% -0.1372 0.1588)
OKLCHoklch(90.94% 0.21 130.8)
XYZxyz(54.0894, 79.3731, 20.8565)
Luminance0.7937 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFC54 #A154FC
analogous
#FCF554 #AFFC54 #5BFC54
triadic
#AFFC54 #54AFFC #FC54AF
tetradic
#AFFC54 #54FCF5 #A154FC #FC545B
square
#AFFC54 #54FCF5 #A154FC #FC545B
split-complementary
#AFFC54 #545BFC #F554FC
monochromatic
#73D204 #93FB18 #AFFC54 #CBFD90 #E7FECC

Accessibility & contrast

On white

1.24
#AFFC54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.88
#AFFC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFC54
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFC54#FFFFFF#000000##000000
##AFFC541.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA3C
Deuteranopia (green-blind)
#FCE462
Tritanopia (blue-blind)
#B2F2DA
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #affc54;
/* rgb */ color: rgb(175, 252, 84);
/* oklch */ color: oklch(90.9% 0.210 130.8);
Tailwind
colors: {
  custom: {
    50: '#cbfe8c',
    500: '#affc54',
    950: '#000000',
  },
}
SCSS
$custom: #affc54;
$custom-light: #cbfe8c;
$custom-dark: #000000;
JSON
{
  "hex": "#affc54",
  "rgb": {
    "r": 175,
    "g": 252,
    "b": 84
  },
  "hsl": {
    "h": 87.5,
    "s": 96.552,
    "l": 65.882
  },
  "oklch": {
    "l": 0.90943,
    "c": 0.2099,
    "h": 130.8
  },
  "luminance": 0.79375
}

Semantic roles & 50–950 ramp

primary
#AFFC54
secondary
#7328CD
accent
#00E669
background
#FEFFFC
surface
#FBFFF4
border
#D4D7CE
text
#14180D
muted
#83867F

Preview Lab

Preview with #AFFC54

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

Preview Lab → · Contrast checker → · Palette generator →

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