#AFE46B#AFE46B

#AFE46B is a very light, vivid yellow-green. Relative luminance 0.657; OKLCH L 85.7% C 0.161 H 129.0°. Best body text is #000000 at 14.13:1 contrast (WCAG AA passes).

Color values

HEX#AFE46B
RGBrgb(175, 228, 107)
HSLhsl(86, 69%, 66%)
HSVhsv(86, 53%, 89%)
CMYKcmyk(23.2%, 0%, 53.1%, 10.6%)
CIE-LABlab(84.82, -36.20, 52.94)
CIE-LCHlch(84.82, 64.13, 124.36°)
OKLaboklab(85.67% -0.1012 0.1252)
OKLCHoklch(85.67% 0.161 129)
XYZxyz(48.0761, 65.6614, 24.0481)
Luminance0.6566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFE46B #A06BE4
analogous
#E4DC6B #AFE46B #72E46B
triadic
#AFE46B #6BAFE4 #E46BAF
tetradic
#AFE46B #6BE4DC #A06BE4 #E46B72
square
#AFE46B #6BE4DC #A06BE4 #E46B72
split-complementary
#AFE46B #6B72E4 #DC6BE4
monochromatic
#73B421 #93DB37 #AFE46B #CBED9F #E7F7D3

Accessibility & contrast

On white

1.49
#AFE46B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.13
#AFE46B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFE46B
14.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFE46B#FFFFFF#000000##000000
##AFE46B1.001.4914.1314.13
#FFFFFF1.491.0021.0021.00
#00000014.1321.001.001.00
##00000014.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED65F
Deuteranopia (green-blind)
#E6D373
Tritanopia (blue-blind)
#B3DBC9
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #afe46b;
/* rgb */ color: rgb(175, 228, 107);
/* oklch */ color: oklch(85.7% 0.161 129.0);
Tailwind
colors: {
  custom: {
    50: '#c9ec98',
    500: '#afe46b',
    950: '#000000',
  },
}
SCSS
$custom: #afe46b;
$custom-light: #c9ec98;
$custom-dark: #000000;
JSON
{
  "hex": "#afe46b",
  "rgb": {
    "r": 175,
    "g": 228,
    "b": 107
  },
  "hsl": {
    "h": 86.281,
    "s": 69.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.85671,
    "c": 0.16099,
    "h": 129
  },
  "luminance": 0.65662
}

Semantic roles & 50–950 ramp

primary
#AFE46B
secondary
#723FB4
accent
#14D167
background
#FEFEFC
surface
#FAFDF5
border
#D3D5CF
text
#13160E
muted
#83847F

Preview Lab

Preview with #AFE46B

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

Preview Lab → · Contrast checker → · Palette generator →

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