#AFE854#AFE854

#AFE854 is a very light, vivid yellow-green. Relative luminance 0.675; OKLCH L 86.3% C 0.185 H 127.8°. Best body text is #000000 at 14.49:1 contrast (WCAG AA passes).

Color values

HEX#AFE854
RGBrgb(175, 232, 84)
HSLhsl(83, 76%, 62%)
HSVhsv(83, 64%, 91%)
CMYKcmyk(24.6%, 0%, 63.8%, 9%)
CIE-LABlab(85.74, -39.98, 63.90)
CIE-LCHlch(85.74, 75.38, 122.03°)
OKLaboklab(86.34% -0.1136 0.1462)
OKLCHoklch(86.34% 0.185 127.8)
XYZxyz(48.1360, 67.4663, 18.8720)
Luminance0.6747 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE854 #8D54E8
analogous
#E8D754 #AFE854 #65E854
triadic
#AFE854 #54AFE8 #E854AF
tetradic
#AFE854 #54E8D7 #8D54E8 #E85465
square
#AFE854 #54E8D7 #8D54E8 #E85465
split-complementary
#AFE854 #5465E8 #D754E8
monochromatic
#72AB17 #96E11E #AFE854 #C8EF8A #E1F7C0

Accessibility & contrast

On white

1.45
#AFE854 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.49
#AFE854 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE854
14.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE854#FFFFFF#000000##000000
##AFE8541.001.4514.4914.49
#FFFFFF1.451.0021.0021.00
#00000014.4921.001.001.00
##00000014.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D941
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#B5DEC9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe854;
/* rgb */ color: rgb(175, 232, 84);
/* oklch */ color: oklch(86.3% 0.185 127.8);
Tailwind
colors: {
  custom: {
    50: '#caef8b',
    500: '#afe854',
    950: '#000000',
  },
}
SCSS
$custom: #afe854;
$custom-light: #caef8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afe854",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 84
  },
  "hsl": {
    "h": 83.108,
    "s": 76.289,
    "l": 61.961
  },
  "oklch": {
    "l": 0.86343,
    "c": 0.18517,
    "h": 127.8
  },
  "luminance": 0.67467
}

Semantic roles & 50–950 ramp

primary
#AFE854
secondary
#6234AC
accent
#0DD85B
background
#FEFFFC
surface
#FBFEF4
border
#D4D6CE
text
#14160C
muted
#83857F

Preview Lab

Preview with #AFE854

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

Preview Lab → · Contrast checker → · Palette generator →

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