#AFCA48#AFCA48

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

Color values

HEX#AFCA48
RGBrgb(175, 202, 72)
HSLhsl(72, 55%, 54%)
HSVhsv(72, 64%, 79%)
CMYKcmyk(13.4%, 0%, 64.4%, 20.8%)
CIE-LABlab(77.17, -27.02, 59.64)
CIE-LCHlch(77.17, 65.47, 114.37°)
OKLaboklab(79.4% -0.0788 0.1357)
OKLCHoklch(79.4% 0.157 120.1)
XYZxyz(39.9700, 51.8230, 14.0268)
Luminance0.5182 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA48 #6348CA
analogous
#CAA448 #AFCA48 #6ECA48
triadic
#AFCA48 #48AFCA #CA48AF
tetradic
#AFCA48 #48CAA4 #6348CA #CA486E
square
#AFCA48 #48CAA4 #6348CA #CA486E
split-complementary
#AFCA48 #486ECA #A448CA
monochromatic
#647622 #8DA530 #AFCA48 #C4D877 #D8E5A7

Accessibility & contrast

On white

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

On black

11.36
#AFCA48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA48
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA48#FFFFFF#000000##000000
##AFCA481.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca48;
/* rgb */ color: rgb(175, 202, 72);
/* oklch */ color: oklch(79.4% 0.157 120.1);
Tailwind
colors: {
  custom: {
    50: '#cada81',
    500: '#afca48',
    950: '#000000',
  },
}
SCSS
$custom: #afca48;
$custom-light: #cada81;
$custom-dark: #000000;
JSON
{
  "hex": "#afca48",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 72
  },
  "hsl": {
    "h": 72.462,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79396,
    "c": 0.15689,
    "h": 120.1
  },
  "luminance": 0.51823
}

Semantic roles & 50–950 ramp

primary
#AFCA48
secondary
#47387E
accent
#49DE68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCA48

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

Preview Lab → · Contrast checker → · Palette generator →

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