#AFE273#AFE273

#AFE273 is a very light, vivid yellow-green. Relative luminance 0.647; OKLCH L 85.3% C 0.151 H 129.5°. Best body text is #000000 at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#AFE273
RGBrgb(175, 226, 115)
HSLhsl(88, 66%, 67%)
HSVhsv(88, 49%, 89%)
CMYKcmyk(22.6%, 0%, 49.1%, 11.4%)
CIE-LABlab(84.35, -34.46, 48.65)
CIE-LCHlch(84.35, 59.61, 125.31°)
OKLaboklab(85.32% -0.0958 0.1164)
OKLCHoklch(85.32% 0.151 129.5)
XYZxyz(47.9696, 64.7435, 26.1858)
Luminance0.6474 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE273 #A673E2
analogous
#E2DE73 #AFE273 #78E273
triadic
#AFE273 #73AFE2 #E273AF
tetradic
#AFE273 #73E2DE #A673E2 #E27378
square
#AFE273 #73E2DE #A673E2 #E27378
split-complementary
#AFE273 #7378E2 #DE73E2
monochromatic
#73B526 #92D740 #AFE273 #CCEDA6 #E9F7D8

Accessibility & contrast

On white

1.51
#AFE273 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.95
#AFE273 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE273
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE273#FFFFFF#000000##000000
##AFE2731.001.5113.9513.95
#FFFFFF1.511.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD569
Deuteranopia (green-blind)
#E4D17A
Tritanopia (blue-blind)
#B3DAC8
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe273;
/* rgb */ color: rgb(175, 226, 115);
/* oklch */ color: oklch(85.3% 0.151 129.5);
Tailwind
colors: {
  custom: {
    50: '#c9eb9d',
    500: '#afe273',
    950: '#000000',
  },
}
SCSS
$custom: #afe273;
$custom-light: #c9eb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#afe273",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 115
  },
  "hsl": {
    "h": 87.568,
    "s": 65.68,
    "l": 66.863
  },
  "oklch": {
    "l": 0.85319,
    "c": 0.15074,
    "h": 129.5
  },
  "luminance": 0.64744
}

Semantic roles & 50–950 ramp

primary
#AFE273
secondary
#7843B6
accent
#18CE6B
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE273

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

Preview Lab → · Contrast checker → · Palette generator →

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