#AFCD46#AFCD46

#AFCD46 is a light, vivid yellow-green. Relative luminance 0.532; OKLCH L 80.1% C 0.162 H 121.0°. Best body text is #000000 at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#AFCD46
RGBrgb(175, 205, 70)
HSLhsl(73, 57%, 54%)
HSVhsv(73, 66%, 80%)
CMYKcmyk(14.6%, 0%, 65.9%, 19.6%)
CIE-LABlab(78.00, -28.58, 61.31)
CIE-LCHlch(78.00, 67.64, 114.99°)
OKLaboklab(80.06% -0.0833 0.1389)
OKLCHoklch(80.06% 0.162 121)
XYZxyz(40.6166, 53.2189, 13.9257)
Luminance0.5322 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD46 #6446CD
analogous
#CDA846 #AFCD46 #6CCD46
triadic
#AFCD46 #46AFCD #CD46AF
tetradic
#AFCD46 #46CDA8 #6446CD #CD466C
square
#AFCD46 #46CDA8 #6446CD #CD466C
split-complementary
#AFCD46 #466CCD #A846CD
monochromatic
#657820 #8DA82D #AFCD46 #C4DA76 #D9E7A6

Accessibility & contrast

On white

1.80
#AFCD46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.64
#AFCD46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD46
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD46#FFFFFF#000000##000000
##AFCD461.001.8011.6411.64
#FFFFFF1.801.0021.0021.00
#00000011.6421.001.001.00
##00000011.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C133
Deuteranopia (green-blind)
#D6C150
Tritanopia (blue-blind)
#B8C3B2
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd46;
/* rgb */ color: rgb(175, 205, 70);
/* oklch */ color: oklch(80.1% 0.162 121.0);
Tailwind
colors: {
  custom: {
    50: '#cadc80',
    500: '#afcd46',
    950: '#000000',
  },
}
SCSS
$custom: #afcd46;
$custom-light: #cadc80;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd46",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 70
  },
  "hsl": {
    "h": 73.333,
    "s": 57.447,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80059,
    "c": 0.16198,
    "h": 121
  },
  "luminance": 0.53219
}

Semantic roles & 50–950 ramp

primary
#AFCD46
secondary
#473780
accent
#47E169
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCD46

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

Preview Lab → · Contrast checker → · Palette generator →

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