#AFCF49#AFCF49

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

Color values

HEX#AFCF49
RGBrgb(175, 207, 73)
HSLhsl(74, 58%, 55%)
HSVhsv(74, 65%, 81%)
CMYKcmyk(15.5%, 0%, 64.7%, 18.8%)
CIE-LABlab(78.59, -29.33, 60.73)
CIE-LCHlch(78.59, 67.44, 115.78°)
OKLaboklab(80.54% -0.0851 0.1381)
OKLCHoklch(80.54% 0.162 121.6)
XYZxyz(41.1951, 54.2206, 14.5974)
Luminance0.5422 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF49 #6949CF
analogous
#CFAC49 #AFCF49 #6CCF49
triadic
#AFCF49 #49AFCF #CF49AF
tetradic
#AFCF49 #49CFAC #6949CF #CF496C
square
#AFCF49 #49CFAC #6949CF #CF496C
split-complementary
#AFCF49 #496CCF #AC49CF
monochromatic
#677D21 #8FAD2E #AFCF49 #C4DC79 #DAE9AA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF49#FFFFFF#000000##000000
##AFCF491.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)
#DBC337
Deuteranopia (green-blind)
#D7C353
Tritanopia (blue-blind)
#B8C5B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf49;
/* rgb */ color: rgb(175, 207, 73);
/* oklch */ color: oklch(80.5% 0.162 121.6);
Tailwind
colors: {
  custom: {
    50: '#cadd82',
    500: '#afcf49',
    950: '#000000',
  },
}
SCSS
$custom: #afcf49;
$custom-light: #cadd82;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf49",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 73
  },
  "hsl": {
    "h": 74.328,
    "s": 58.261,
    "l": 54.902
  },
  "oklch": {
    "l": 0.80538,
    "c": 0.16223,
    "h": 121.6
  },
  "luminance": 0.54221
}

Semantic roles & 50–950 ramp

primary
#AFCF49
secondary
#4A3884
accent
#46E16B
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF49

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

Preview Lab → · Contrast checker → · Palette generator →

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