#AFCA59#AFCA59

#AFCA59 is a light, vivid yellow-green. Relative luminance 0.521; OKLCH L 79.6% C 0.143 H 121.0°. Best body text is #000000 at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#AFCA59
RGBrgb(175, 202, 89)
HSLhsl(74, 52%, 57%)
HSVhsv(74, 56%, 79%)
CMYKcmyk(13.4%, 0%, 55.9%, 20.8%)
CIE-LABlab(77.33, -25.70, 52.45)
CIE-LCHlch(77.33, 58.41, 116.10°)
OKLaboklab(79.57% -0.0735 0.1225)
OKLCHoklch(79.57% 0.143 121)
XYZxyz(40.6033, 52.0763, 17.3619)
Luminance0.5208 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA59 #7459CA
analogous
#CAAC59 #AFCA59 #77CA59
triadic
#AFCA59 #59AFCA #CA59AF
tetradic
#AFCA59 #59CAAC #7459CA #CA5977
square
#AFCA59 #59CAAC #7459CA #CA5977
split-complementary
#AFCA59 #5977CA #AC59CA
monochromatic
#6B8029 #92AE38 #AFCA59 #C5D987 #DCE8B6

Accessibility & contrast

On white

1.84
#AFCA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.42
#AFCA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA59
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA59#FFFFFF#000000##000000
##AFCA591.001.8411.4211.42
#FFFFFF1.841.0021.0021.00
#00000011.4221.001.001.00
##00000011.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4D
Deuteranopia (green-blind)
#D2BF60
Tritanopia (blue-blind)
#B7C1B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca59;
/* rgb */ color: rgb(175, 202, 89);
/* oklch */ color: oklch(79.6% 0.143 121.0);
Tailwind
colors: {
  custom: {
    50: '#c9da8b',
    500: '#afca59',
    950: '#000000',
  },
}
SCSS
$custom: #afca59;
$custom-light: #c9da8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afca59",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 74.336,
    "s": 51.598,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79567,
    "c": 0.14283,
    "h": 121
  },
  "luminance": 0.52076
}

Semantic roles & 50–950 ramp

primary
#AFCA59
secondary
#514088
accent
#4DDB6F
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA59

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

Preview Lab → · Contrast checker → · Palette generator →

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