#AFCA52#AFCA52

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

Color values

HEX#AFCA52
RGBrgb(175, 202, 82)
HSLhsl(74, 53%, 56%)
HSVhsv(74, 59%, 79%)
CMYKcmyk(13.4%, 0%, 59.4%, 20.8%)
CIE-LABlab(77.26, -26.28, 55.50)
CIE-LCHlch(77.26, 61.41, 115.34°)
OKLaboklab(79.49% -0.0758 0.1282)
OKLCHoklch(79.49% 0.149 120.6)
XYZxyz(40.3232, 51.9643, 15.8868)
Luminance0.5196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA52 #6D52CA
analogous
#CAA952 #AFCA52 #73CA52
triadic
#AFCA52 #52AFCA #CA52AF
tetradic
#AFCA52 #52CAA9 #6D52CA #CA5273
square
#AFCA52 #52CAA9 #6D52CA #CA5273
split-complementary
#AFCA52 #5273CA #A952CA
monochromatic
#687C26 #90AB34 #AFCA52 #C5D881 #DAE7B0

Accessibility & contrast

On white

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

On black

11.39
#AFCA52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA52
11.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA52#FFFFFF#000000##000000
##AFCA521.001.8411.3911.39
#FFFFFF1.841.0021.0021.00
#00000011.3921.001.001.00
##00000011.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF45
Deuteranopia (green-blind)
#D2BF5A
Tritanopia (blue-blind)
#B8C0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca52;
/* rgb */ color: rgb(175, 202, 82);
/* oklch */ color: oklch(79.5% 0.149 120.6);
Tailwind
colors: {
  custom: {
    50: '#c9da87',
    500: '#afca52',
    950: '#000000',
  },
}
SCSS
$custom: #afca52;
$custom-light: #c9da87;
$custom-dark: #000000;
JSON
{
  "hex": "#afca52",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 82
  },
  "hsl": {
    "h": 73.5,
    "s": 53.097,
    "l": 55.686
  },
  "oklch": {
    "l": 0.79491,
    "c": 0.14893,
    "h": 120.6
  },
  "luminance": 0.51964
}

Semantic roles & 50–950 ramp

primary
#AFCA52
secondary
#4C3C84
accent
#4BDD6C
background
#FEFEFC
surface
#FBFBF3
border
#D4D4CD
text
#13140C
muted
#83837F

Preview Lab

Preview with #AFCA52

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

Preview Lab → · Contrast checker → · Palette generator →

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