#AFE946#AFE946

#AFE946 is a very light, vivid yellow-green. Relative luminance 0.678; OKLCH L 86.5% C 0.196 H 127.2°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#AFE946
RGBrgb(175, 233, 70)
HSLhsl(81, 79%, 59%)
HSVhsv(81, 70%, 91%)
CMYKcmyk(24.9%, 0%, 70%, 8.6%)
CIE-LABlab(85.92, -41.36, 69.40)
CIE-LCHlch(85.92, 80.79, 120.79°)
OKLaboklab(86.46% -0.1185 0.1559)
OKLCHoklch(86.46% 0.196 127.2)
XYZxyz(47.9237, 67.8331, 16.3614)
Luminance0.6783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE946 #8046E9
analogous
#E9D246 #AFE946 #5EE946
triadic
#AFE946 #46AFE9 #E946AF
tetradic
#AFE946 #46E9D2 #8046E9 #E9465E
square
#AFE946 #46E9D2 #8046E9 #E9465E
split-complementary
#AFE946 #465EE9 #D246E9
monochromatic
#6FA113 #94D81A #AFE946 #C7F07D #DEF6B3

Accessibility & contrast

On white

1.44
#AFE946 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.57
#AFE946 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE946
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE946#FFFFFF#000000##000000
##AFE9461.001.4414.5714.57
#FFFFFF1.441.0021.0021.00
#00000014.5721.001.001.00
##00000014.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5D92A
Deuteranopia (green-blind)
#EDD654
Tritanopia (blue-blind)
#B5DEC9
Achromatopsia (no color)
#D7D7D7

Design tokens & code

CSS
--color: #afe946;
/* rgb */ color: rgb(175, 233, 70);
/* oklch */ color: oklch(86.5% 0.196 127.2);
Tailwind
colors: {
  custom: {
    50: '#cbf083',
    500: '#afe946',
    950: '#000000',
  },
}
SCSS
$custom: #afe946;
$custom-light: #cbf083;
$custom-dark: #000000;
JSON
{
  "hex": "#afe946",
  "rgb": {
    "r": 175,
    "g": 233,
    "b": 70
  },
  "hsl": {
    "h": 81.35,
    "s": 78.744,
    "l": 59.412
  },
  "oklch": {
    "l": 0.86461,
    "c": 0.19585,
    "h": 127.2
  },
  "luminance": 0.67834
}

Semantic roles & 50–950 ramp

primary
#AFE946
secondary
#592FA4
accent
#33F578
background
#FEFFFB
surface
#FBFEF2
border
#D4D6CC
text
#14160B
muted
#83857E

Preview Lab

Preview with #AFE946

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

Preview Lab → · Contrast checker → · Palette generator →

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