#AFCA56#AFCA56

#AFCA56 is a light, vivid yellow-green. Relative luminance 0.520; OKLCH L 79.5% C 0.145 H 120.8°. Best body text is #000000 at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#AFCA56
RGBrgb(175, 202, 86)
HSLhsl(74, 52%, 56%)
HSVhsv(74, 57%, 79%)
CMYKcmyk(13.4%, 0%, 57.4%, 20.8%)
CIE-LABlab(77.30, -25.96, 53.77)
CIE-LCHlch(77.30, 59.71, 115.77°)
OKLaboklab(79.53% -0.0745 0.125)
OKLCHoklch(79.53% 0.145 120.8)
XYZxyz(40.4799, 52.0270, 16.7120)
Luminance0.5203 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA56 #7156CA
analogous
#CAAB56 #AFCA56 #75CA56
triadic
#AFCA56 #56AFCA #CA56AF
tetradic
#AFCA56 #56CAAB #7156CA #CA5675
square
#AFCA56 #56CAAB #7156CA #CA5675
split-complementary
#AFCA56 #5675CA #AB56CA
monochromatic
#6A7E28 #91AD36 #AFCA56 #C5D985 #DBE7B3

Accessibility & contrast

On white

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

On black

11.41
#AFCA56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA56
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA56#FFFFFF#000000##000000
##AFCA561.001.8411.4111.41
#FFFFFF1.841.0021.0021.00
#00000011.4121.001.001.00
##00000011.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D5BF4A
Deuteranopia (green-blind)
#D2BF5D
Tritanopia (blue-blind)
#B7C0B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca56;
/* rgb */ color: rgb(175, 202, 86);
/* oklch */ color: oklch(79.5% 0.145 120.8);
Tailwind
colors: {
  custom: {
    50: '#c9da8a',
    500: '#afca56',
    950: '#000000',
  },
}
SCSS
$custom: #afca56;
$custom-light: #c9da8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afca56",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 86
  },
  "hsl": {
    "h": 73.966,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.79533,
    "c": 0.14549,
    "h": 120.8
  },
  "luminance": 0.52027
}

Semantic roles & 50–950 ramp

primary
#AFCA56
secondary
#4F3E86
accent
#4CDC6E
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA56

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

Preview Lab → · Contrast checker → · Palette generator →

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