#AFCD36#AFCD36

#AFCD36 is a light, vivid yellow-green. Relative luminance 0.530; OKLCH L 79.9% C 0.172 H 120.4°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#AFCD36
RGBrgb(175, 205, 54)
HSLhsl(72, 60%, 51%)
HSVhsv(72, 74%, 80%)
CMYKcmyk(14.6%, 0%, 73.7%, 19.6%)
CIE-LABlab(77.90, -29.50, 67.06)
CIE-LCHlch(77.90, 73.26, 113.74°)
OKLaboklab(79.94% -0.0873 0.1485)
OKLCHoklch(79.94% 0.172 120.4)
XYZxyz(40.1771, 53.0431, 11.6111)
Luminance0.5304 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD36 #5436CD
analogous
#CDA036 #AFCD36 #63CD36
triadic
#AFCD36 #36AFCD #CD36AF
tetradic
#AFCD36 #36CDA0 #5436CD #CD3663
square
#AFCD36 #36CDA0 #5436CD #CD3663
split-complementary
#AFCD36 #3663CD #A036CD
monochromatic
#5D6D1B #879E27 #AFCD36 #C3D967 #D6E598

Accessibility & contrast

On white

1.81
#AFCD36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#AFCD36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD36
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD36#FFFFFF#000000##000000
##AFCD361.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC116
Deuteranopia (green-blind)
#D6C143
Tritanopia (blue-blind)
#B9C2B0
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd36;
/* rgb */ color: rgb(175, 205, 54);
/* oklch */ color: oklch(79.9% 0.172 120.4);
Tailwind
colors: {
  custom: {
    50: '#cbdc78',
    500: '#afcd36',
    950: '#000000',
  },
}
SCSS
$custom: #afcd36;
$custom-light: #cbdc78;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd36",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 54
  },
  "hsl": {
    "h": 71.921,
    "s": 60.159,
    "l": 50.784
  },
  "oklch": {
    "l": 0.79942,
    "c": 0.17226,
    "h": 120.4
  },
  "luminance": 0.53043
}

Semantic roles & 50–950 ramp

primary
#AFCD36
secondary
#3E3077
accent
#44E364
background
#FEFEFB
surface
#FBFCF1
border
#D4D5CB
text
#14150A
muted
#83847D

Preview Lab

Preview with #AFCD36

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

Preview Lab → · Contrast checker → · Palette generator →

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