#AFCD59#AFCD59

#AFCD59 is a light, vivid yellow-green. Relative luminance 0.535; OKLCH L 80.2% C 0.147 H 121.9°. Best body text is #000000 at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#AFCD59
RGBrgb(175, 205, 89)
HSLhsl(76, 54%, 58%)
HSVhsv(76, 57%, 80%)
CMYKcmyk(14.6%, 0%, 56.6%, 19.6%)
CIE-LABlab(78.17, -27.14, 53.41)
CIE-LCHlch(78.17, 59.92, 116.94°)
OKLaboklab(80.24% -0.0775 0.1245)
OKLCHoklch(80.24% 0.147 121.9)
XYZxyz(41.3140, 53.4978, 17.5989)
Luminance0.5350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCD59 #7759CD
analogous
#CDB159 #AFCD59 #75CD59
triadic
#AFCD59 #59AFCD #CD59AF
tetradic
#AFCD59 #59CDB1 #7759CD #CD5975
square
#AFCD59 #59CDB1 #7759CD #CD5975
split-complementary
#AFCD59 #5975CD #B159CD
monochromatic
#6C8428 #93B336 #AFCD59 #C6DB88 #DCE9B7

Accessibility & contrast

On white

1.79
#AFCD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.70
#AFCD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCD59
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCD59#FFFFFF#000000##000000
##AFCD591.001.7911.7011.70
#FFFFFF1.791.0021.0021.00
#00000011.7021.001.001.00
##00000011.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C24D
Deuteranopia (green-blind)
#D4C160
Tritanopia (blue-blind)
#B7C4B4
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #afcd59;
/* rgb */ color: rgb(175, 205, 89);
/* oklch */ color: oklch(80.2% 0.147 121.9);
Tailwind
colors: {
  custom: {
    50: '#c9dc8c',
    500: '#afcd59',
    950: '#000000',
  },
}
SCSS
$custom: #afcd59;
$custom-light: #c9dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#afcd59",
  "rgb": {
    "r": 175,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 75.517,
    "s": 53.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80243,
    "c": 0.14669,
    "h": 121.9
  },
  "luminance": 0.53498
}

Semantic roles & 50–950 ramp

primary
#AFCD59
secondary
#533F8B
accent
#4BDD71
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCD59

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

Preview Lab → · Contrast checker → · Palette generator →

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