#AFDA46#AFDA46

#AFDA46 is a very light, vivid yellow-green. Relative luminance 0.597; OKLCH L 83.0% C 0.178 H 124.3°. Best body text is #000000 at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#AFDA46
RGBrgb(175, 218, 70)
HSLhsl(77, 67%, 56%)
HSVhsv(77, 68%, 85%)
CMYKcmyk(19.7%, 0%, 67.9%, 14.5%)
CIE-LABlab(81.67, -34.64, 65.10)
CIE-LCHlch(81.67, 73.74, 118.02°)
OKLaboklab(83.02% -0.1001 0.1469)
OKLCHoklch(83.02% 0.178 124.3)
XYZxyz(43.8565, 59.6986, 15.0056)
Luminance0.5970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFDA46 #7146DA
analogous
#DABB46 #AFDA46 #65DA46
triadic
#AFDA46 #46AFDA #DA46AF
tetradic
#AFDA46 #46DABB #7146DA #DA4665
square
#AFDA46 #46DABB #7146DA #DA4665
split-complementary
#AFDA46 #4665DA #BB46DA
monochromatic
#6A8A1C #91BD26 #AFDA46 #C5E479 #DBEEAC

Accessibility & contrast

On white

1.62
#AFDA46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.94
#AFDA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFDA46
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFDA46#FFFFFF#000000##000000
##AFDA461.001.6212.9412.94
#FFFFFF1.621.0021.0021.00
#00000012.9421.001.001.00
##00000012.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC30
Deuteranopia (green-blind)
#E0CB52
Tritanopia (blue-blind)
#B7D0BC
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #afda46;
/* rgb */ color: rgb(175, 218, 70);
/* oklch */ color: oklch(83.0% 0.178 124.3);
Tailwind
colors: {
  custom: {
    50: '#cae581',
    500: '#afda46',
    950: '#000000',
  },
}
SCSS
$custom: #afda46;
$custom-light: #cae581;
$custom-dark: #000000;
JSON
{
  "hex": "#afda46",
  "rgb": {
    "r": 175,
    "g": 218,
    "b": 70
  },
  "hsl": {
    "h": 77.432,
    "s": 66.667,
    "l": 56.471
  },
  "oklch": {
    "l": 0.8302,
    "c": 0.17773,
    "h": 124.3
  },
  "luminance": 0.59699
}

Semantic roles & 50–950 ramp

primary
#AFDA46
secondary
#4F3490
accent
#3EEA70
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFDA46

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

Preview Lab → · Contrast checker → · Palette generator →

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