#AFFE2F#AFFE2F

#AFFE2F is a very light, highly saturated yellow-green. Relative luminance 0.802; OKLCH L 91.2% C 0.231 H 129.5°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#AFFE2F
RGBrgb(175, 254, 47)
HSLhsl(83, 99%, 59%)
HSVhsv(83, 81%, 100%)
CMYKcmyk(31.1%, 0%, 81.5%, 0.4%)
CIE-LABlab(91.78, -51.37, 81.74)
CIE-LCHlch(91.78, 96.54, 122.15°)
OKLaboklab(91.18% -0.1472 0.1785)
OKLCHoklch(91.18% 0.231 129.5)
XYZxyz(53.6340, 80.2011, 15.3433)
Luminance0.8020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFFE2F #7E2FFE
analogous
#FEE62F #AFFE2F #48FE2F
triadic
#AFFE2F #2FAFFE #FE2FAF
tetradic
#AFFE2F #2FFEE6 #7E2FFE #FE2F48
square
#AFFE2F #2FFEE6 #7E2FFE #FE2F48
split-complementary
#AFFE2F #2F48FE #E62FFE
monochromatic
#6EB201 #94EF01 #AFFE2F #C6FE6C #DEFFA9

Accessibility & contrast

On white

1.23
#AFFE2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.04
#AFFE2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFFE2F
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFFE2F#FFFFFF#000000##000000
##AFFE2F1.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB00
Deuteranopia (green-blind)
#FFE648
Tritanopia (blue-blind)
#B4F3D9
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #affe2f;
/* rgb */ color: rgb(175, 254, 47);
/* oklch */ color: oklch(91.2% 0.231 129.5);
Tailwind
colors: {
  custom: {
    50: '#cdff7b',
    500: '#affe2f',
    950: '#000000',
  },
}
SCSS
$custom: #affe2f;
$custom-light: #cdff7b;
$custom-dark: #000000;
JSON
{
  "hex": "#affe2f",
  "rgb": {
    "r": 175,
    "g": 254,
    "b": 47
  },
  "hsl": {
    "h": 82.899,
    "s": 99.043,
    "l": 59.02
  },
  "oklch": {
    "l": 0.91184,
    "c": 0.23138,
    "h": 129.5
  },
  "luminance": 0.80203
}

Semantic roles & 50–950 ramp

primary
#AFFE2F
secondary
#5720B1
accent
#29FF7B
background
#FEFFFB
surface
#FBFFF2
border
#D4D7CC
text
#14180B
muted
#83867E

Preview Lab

Preview with #AFFE2F

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

Preview Lab → · Contrast checker → · Palette generator →

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