#AFE277#AFE277

#AFE277 is a very light, vivid yellow-green. Relative luminance 0.648; OKLCH L 85.4% C 0.147 H 130.0°. Best body text is #000000 at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#AFE277
RGBrgb(175, 226, 119)
HSLhsl(89, 65%, 68%)
HSVhsv(89, 47%, 89%)
CMYKcmyk(22.6%, 0%, 47.3%, 11.4%)
CIE-LABlab(84.40, -34.02, 46.80)
CIE-LCHlch(84.40, 57.86, 126.02°)
OKLaboklab(85.37% -0.0943 0.1126)
OKLCHoklch(85.37% 0.147 130)
XYZxyz(48.2048, 64.8376, 27.4244)
Luminance0.6484 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE277 #AA77E2
analogous
#E2DF77 #AFE277 #7AE277
triadic
#AFE277 #77AFE2 #E277AF
tetradic
#AFE277 #77E2DF #AA77E2 #E2777A
square
#AFE277 #77E2DF #AA77E2 #E2777A
split-complementary
#AFE277 #777AE2 #DF77E2
monochromatic
#73B727 #91D745 #AFE277 #CDEDA9 #EAF8DC

Accessibility & contrast

On white

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

On black

13.97
#AFE277 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE277
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE277#FFFFFF#000000##000000
##AFE2771.001.5013.9713.97
#FFFFFF1.501.0021.0021.00
#00000013.9721.001.001.00
##00000013.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afe277;
/* rgb */ color: rgb(175, 226, 119);
/* oklch */ color: oklch(85.4% 0.147 130.0);
Tailwind
colors: {
  custom: {
    50: '#c9eba0',
    500: '#afe277',
    950: '#000000',
  },
}
SCSS
$custom: #afe277;
$custom-light: #c9eba0;
$custom-dark: #000000;
JSON
{
  "hex": "#afe277",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 119
  },
  "hsl": {
    "h": 88.598,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.85374,
    "c": 0.14683,
    "h": 130
  },
  "luminance": 0.64839
}

Semantic roles & 50–950 ramp

primary
#AFE277
secondary
#7C45B8
accent
#19CD6F
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE277

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

Preview Lab → · Contrast checker → · Palette generator →

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