#AFE279#AFE279

#AFE279 is a very light, vivid yellow-green. Relative luminance 0.649; OKLCH L 85.4% C 0.145 H 130.2°. Best body text is #000000 at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#AFE279
RGBrgb(175, 226, 121)
HSLhsl(89, 64%, 68%)
HSVhsv(89, 46%, 89%)
CMYKcmyk(22.6%, 0%, 46.5%, 11.4%)
CIE-LABlab(84.43, -33.79, 45.87)
CIE-LCHlch(84.43, 56.97, 126.38°)
OKLaboklab(85.4% -0.0935 0.1106)
OKLCHoklch(85.4% 0.145 130.2)
XYZxyz(48.3261, 64.8862, 28.0636)
Luminance0.6489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE279 #AC79E2
analogous
#E2E079 #AFE279 #7AE279
triadic
#AFE279 #79AFE2 #E279AF
tetradic
#AFE279 #79E2E0 #AC79E2 #E2797A
square
#AFE279 #79E2E0 #AC79E2 #E2797A
split-complementary
#AFE279 #797AE2 #E079E2
monochromatic
#72B928 #91D747 #AFE279 #CDEDAB #EBF8DE

Accessibility & contrast

On white

1.50
#AFE279 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.98
#AFE279 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE279
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE279#FFFFFF#000000##000000
##AFE2791.001.5013.9813.98
#FFFFFF1.501.0021.0021.00
#00000013.9821.001.001.00
##00000013.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD570
Deuteranopia (green-blind)
#E3D17F
Tritanopia (blue-blind)
#B2DAC9
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #afe279;
/* rgb */ color: rgb(175, 226, 121);
/* oklch */ color: oklch(85.4% 0.145 130.2);
Tailwind
colors: {
  custom: {
    50: '#c9eba1',
    500: '#afe279',
    950: '#000000',
  },
}
SCSS
$custom: #afe279;
$custom-light: #c9eba1;
$custom-dark: #000000;
JSON
{
  "hex": "#afe279",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 121
  },
  "hsl": {
    "h": 89.143,
    "s": 64.417,
    "l": 68.039
  },
  "oklch": {
    "l": 0.85403,
    "c": 0.14485,
    "h": 130.2
  },
  "luminance": 0.64887
}

Semantic roles & 50–950 ramp

primary
#AFE279
secondary
#7E46B9
accent
#19CC70
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE279

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

Preview Lab → · Contrast checker → · Palette generator →

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