#AFCA54#AFCA54

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

Color values

HEX#AFCA54
RGBrgb(175, 202, 84)
HSLhsl(74, 53%, 56%)
HSVhsv(74, 58%, 79%)
CMYKcmyk(13.4%, 0%, 58.4%, 20.8%)
CIE-LABlab(77.28, -26.12, 54.64)
CIE-LCHlch(77.28, 60.56, 115.55°)
OKLaboklab(79.51% -0.0751 0.1266)
OKLCHoklch(79.51% 0.147 120.7)
XYZxyz(40.4004, 51.9952, 16.2935)
Luminance0.5200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA54 #6F54CA
analogous
#CAAA54 #AFCA54 #74CA54
triadic
#AFCA54 #54AFCA #CA54AF
tetradic
#AFCA54 #54CAAA #6F54CA #CA5474
square
#AFCA54 #54CAAA #6F54CA #CA5474
split-complementary
#AFCA54 #5474CA #AA54CA
monochromatic
#697D27 #91AC35 #AFCA54 #C5D883 #DBE7B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCA54#FFFFFF#000000##000000
##AFCA541.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)
#D5BF47
Deuteranopia (green-blind)
#D2BF5C
Tritanopia (blue-blind)
#B8C0B1
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca54;
/* rgb */ color: rgb(175, 202, 84);
/* oklch */ color: oklch(79.5% 0.147 120.7);
Tailwind
colors: {
  custom: {
    50: '#c9da88',
    500: '#afca54',
    950: '#000000',
  },
}
SCSS
$custom: #afca54;
$custom-light: #c9da88;
$custom-dark: #000000;
JSON
{
  "hex": "#afca54",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 84
  },
  "hsl": {
    "h": 73.729,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79512,
    "c": 0.14722,
    "h": 120.7
  },
  "luminance": 0.51995
}

Semantic roles & 50–950 ramp

primary
#AFCA54
secondary
#4E3D85
accent
#4CDC6D
background
#FEFEFC
surface
#FBFBF4
border
#D4D4CE
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA54

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

Preview Lab → · Contrast checker → · Palette generator →

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