#AFE846#AFE846

#AFE846 is a very light, vivid yellow-green. Relative luminance 0.673; OKLCH L 86.2% C 0.195 H 127.1°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#AFE846
RGBrgb(175, 232, 70)
HSLhsl(81, 78%, 59%)
HSVhsv(81, 70%, 91%)
CMYKcmyk(24.6%, 0%, 69.8%, 9%)
CIE-LABlab(85.64, -40.92, 69.12)
CIE-LCHlch(85.64, 80.32, 120.63°)
OKLaboklab(86.23% -0.1173 0.1553)
OKLCHoklch(86.23% 0.195 127.1)
XYZxyz(47.6414, 67.2685, 16.2673)
Luminance0.6727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE846 #7F46E8
analogous
#E8D046 #AFE846 #5EE846
triadic
#AFE846 #46AFE8 #E846AF
tetradic
#AFE846 #46E8D0 #7F46E8 #E8465E
square
#AFE846 #46E8D0 #7F46E8 #E8465E
split-complementary
#AFE846 #465EE8 #D046E8
monochromatic
#6FA014 #94D61B #AFE846 #C7EF7C #DEF6B3

Accessibility & contrast

On white

1.45
#AFE846 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#AFE846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE846
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE846#FFFFFF#000000##000000
##AFE8461.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4D82B
Deuteranopia (green-blind)
#ECD554
Tritanopia (blue-blind)
#B6DDC8
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #afe846;
/* rgb */ color: rgb(175, 232, 70);
/* oklch */ color: oklch(86.2% 0.195 127.1);
Tailwind
colors: {
  custom: {
    50: '#cbef83',
    500: '#afe846',
    950: '#000000',
  },
}
SCSS
$custom: #afe846;
$custom-light: #cbef83;
$custom-dark: #000000;
JSON
{
  "hex": "#afe846",
  "rgb": {
    "r": 175,
    "g": 232,
    "b": 70
  },
  "hsl": {
    "h": 81.111,
    "s": 77.885,
    "l": 59.216
  },
  "oklch": {
    "l": 0.86231,
    "c": 0.19464,
    "h": 127.1
  },
  "luminance": 0.67269
}

Semantic roles & 50–950 ramp

primary
#AFE846
secondary
#5830A2
accent
#33F477
background
#FEFFFB
surface
#FBFEF2
border
#D4D6CC
text
#14160B
muted
#83857E

Preview Lab

Preview with #AFE846

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

Preview Lab → · Contrast checker → · Palette generator →

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