#AFCA49#AFCA49

#AFCA49 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.4% C 0.156 H 120.2°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#AFCA49
RGBrgb(175, 202, 73)
HSLhsl(73, 55%, 54%)
HSVhsv(73, 64%, 79%)
CMYKcmyk(13.4%, 0%, 63.9%, 20.8%)
CIE-LABlab(77.18, -26.95, 59.24)
CIE-LCHlch(77.18, 65.08, 114.46°)
OKLaboklab(79.41% -0.0785 0.135)
OKLCHoklch(79.41% 0.156 120.2)
XYZxyz(40.0029, 51.8362, 14.2000)
Luminance0.5184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA49 #6449CA
analogous
#CAA549 #AFCA49 #6FCA49
triadic
#AFCA49 #49AFCA #CA49AF
tetradic
#AFCA49 #49CAA5 #6449CA #CA496F
square
#AFCA49 #49CAA5 #6449CA #CA496F
split-complementary
#AFCA49 #496FCA #A549CA
monochromatic
#657622 #8DA630 #AFCA49 #C4D878 #D9E6A8

Accessibility & contrast

On white

1.85
#AFCA49 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#AFCA49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA49
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA49#FFFFFF#000000##000000
##AFCA491.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF38
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#B8C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca49;
/* rgb */ color: rgb(175, 202, 73);
/* oklch */ color: oklch(79.4% 0.156 120.2);
Tailwind
colors: {
  custom: {
    50: '#cada82',
    500: '#afca49',
    950: '#000000',
  },
}
SCSS
$custom: #afca49;
$custom-light: #cada82;
$custom-dark: #000000;
JSON
{
  "hex": "#afca49",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 73
  },
  "hsl": {
    "h": 72.558,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.79405,
    "c": 0.15614,
    "h": 120.2
  },
  "luminance": 0.51836
}

Semantic roles & 50–950 ramp

primary
#AFCA49
secondary
#47387F
accent
#4ADE69
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCA49

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

Preview Lab → · Contrast checker → · Palette generator →

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