#AFCA55#AFCA55

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

Color values

HEX#AFCA55
RGBrgb(175, 202, 85)
HSLhsl(74, 52%, 56%)
HSVhsv(74, 58%, 79%)
CMYKcmyk(13.4%, 0%, 57.9%, 20.8%)
CIE-LABlab(77.29, -26.04, 54.21)
CIE-LCHlch(77.29, 60.14, 115.66°)
OKLaboklab(79.52% -0.0748 0.1258)
OKLCHoklch(79.52% 0.146 120.7)
XYZxyz(40.4399, 52.0110, 16.5013)
Luminance0.5201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA55 #7055CA
analogous
#CAAB55 #AFCA55 #75CA55
triadic
#AFCA55 #55AFCA #CA55AF
tetradic
#AFCA55 #55CAAB #7055CA #CA5575
square
#AFCA55 #55CAAB #7055CA #CA5575
split-complementary
#AFCA55 #5575CA #AB55CA
monochromatic
#6A7D27 #91AC36 #AFCA55 #C5D984 #DBE7B2

Accessibility & contrast

On white

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

On black

11.40
#AFCA55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA55
11.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA55#FFFFFF#000000##000000
##AFCA551.001.8411.4011.40
#FFFFFF1.841.0021.0021.00
#00000011.4021.001.001.00
##00000011.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca55;
/* rgb */ color: rgb(175, 202, 85);
/* oklch */ color: oklch(79.5% 0.146 120.7);
Tailwind
colors: {
  custom: {
    50: '#c9da89',
    500: '#afca55',
    950: '#000000',
  },
}
SCSS
$custom: #afca55;
$custom-light: #c9da89;
$custom-dark: #000000;
JSON
{
  "hex": "#afca55",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 85
  },
  "hsl": {
    "h": 73.846,
    "s": 52.466,
    "l": 56.275
  },
  "oklch": {
    "l": 0.79523,
    "c": 0.14636,
    "h": 120.7
  },
  "luminance": 0.52011
}

Semantic roles & 50–950 ramp

primary
#AFCA55
secondary
#4E3E85
accent
#4CDC6D
background
#FEFEFC
surface
#FAFBF4
border
#D3D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA55

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

Preview Lab → · Contrast checker → · Palette generator →

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