#AFE274#AFE274

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

Color values

HEX#AFE274
RGBrgb(175, 226, 116)
HSLhsl(88, 65%, 67%)
HSVhsv(88, 49%, 89%)
CMYKcmyk(22.6%, 0%, 48.7%, 11.4%)
CIE-LABlab(84.36, -34.35, 48.19)
CIE-LCHlch(84.36, 59.18, 125.49°)
OKLaboklab(85.33% -0.0954 0.1154)
OKLCHoklch(85.33% 0.15 129.6)
XYZxyz(48.0274, 64.7667, 26.4905)
Luminance0.6477 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE274 #A774E2
analogous
#E2DE74 #AFE274 #78E274
triadic
#AFE274 #74AFE2 #E274AF
tetradic
#AFE274 #74E2DE #A774E2 #E27478
square
#AFE274 #74E2DE #A774E2 #E27478
split-complementary
#AFE274 #7478E2 #DE74E2
monochromatic
#73B626 #92D741 #AFE274 #CCEDA7 #E9F7D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFE274#FFFFFF#000000##000000
##AFE2741.001.5013.9513.95
#FFFFFF1.501.0021.0021.00
#00000013.9521.001.001.00
##00000013.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD56A
Deuteranopia (green-blind)
#E4D17B
Tritanopia (blue-blind)
#B3DAC9
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #afe274;
/* rgb */ color: rgb(175, 226, 116);
/* oklch */ color: oklch(85.3% 0.150 129.6);
Tailwind
colors: {
  custom: {
    50: '#c9eb9e',
    500: '#afe274',
    950: '#000000',
  },
}
SCSS
$custom: #afe274;
$custom-light: #c9eb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#afe274",
  "rgb": {
    "r": 175,
    "g": 226,
    "b": 116
  },
  "hsl": {
    "h": 87.818,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.85333,
    "c": 0.14977,
    "h": 129.6
  },
  "luminance": 0.64768
}

Semantic roles & 50–950 ramp

primary
#AFE274
secondary
#7944B6
accent
#18CD6C
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160F
muted
#838480

Preview Lab

Preview with #AFE274

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

Preview Lab → · Contrast checker → · Palette generator →

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