#AFCF48#AFCF48

#AFCF48 is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.5% C 0.163 H 121.6°. Best body text is #000000 at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#AFCF48
RGBrgb(175, 207, 72)
HSLhsl(74, 58%, 55%)
HSVhsv(74, 65%, 81%)
CMYKcmyk(15.5%, 0%, 65.2%, 18.8%)
CIE-LABlab(78.58, -29.39, 61.12)
CIE-LCHlch(78.58, 67.82, 115.69°)
OKLaboklab(80.53% -0.0854 0.1388)
OKLCHoklch(80.53% 0.163 121.6)
XYZxyz(41.1622, 54.2075, 14.4242)
Luminance0.5421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF48 #6848CF
analogous
#CFAB48 #AFCF48 #6CCF48
triadic
#AFCF48 #48AFCF #CF48AF
tetradic
#AFCF48 #48CFAB #6848CF #CF486C
square
#AFCF48 #48CFAB #6848CF #CF486C
split-complementary
#AFCF48 #486CCF #AB48CF
monochromatic
#667C21 #8EAD2D #AFCF48 #C4DC78 #D9E8A9

Accessibility & contrast

On white

1.77
#AFCF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.84
#AFCF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF48
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF48#FFFFFF#000000##000000
##AFCF481.001.7711.8411.84
#FFFFFF1.771.0021.0021.00
#00000011.8421.001.001.00
##00000011.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC336
Deuteranopia (green-blind)
#D7C352
Tritanopia (blue-blind)
#B8C5B3
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf48;
/* rgb */ color: rgb(175, 207, 72);
/* oklch */ color: oklch(80.5% 0.163 121.6);
Tailwind
colors: {
  custom: {
    50: '#cadd82',
    500: '#afcf48',
    950: '#000000',
  },
}
SCSS
$custom: #afcf48;
$custom-light: #cadd82;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf48",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 72
  },
  "hsl": {
    "h": 74.222,
    "s": 58.442,
    "l": 54.706
  },
  "oklch": {
    "l": 0.8053,
    "c": 0.16296,
    "h": 121.6
  },
  "luminance": 0.54207
}

Semantic roles & 50–950 ramp

primary
#AFCF48
secondary
#493784
accent
#46E26B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF48

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

Preview Lab → · Contrast checker → · Palette generator →

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