#AFCF44#AFCF44

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

Color values

HEX#AFCF44
RGBrgb(175, 207, 68)
HSLhsl(74, 59%, 54%)
HSVhsv(74, 67%, 81%)
CMYKcmyk(15.5%, 0%, 67.1%, 18.8%)
CIE-LABlab(78.55, -29.66, 62.66)
CIE-LCHlch(78.55, 69.32, 115.33°)
OKLaboklab(80.5% -0.0865 0.1415)
OKLCHoklch(80.5% 0.166 121.4)
XYZxyz(41.0360, 54.1570, 13.7592)
Luminance0.5416 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF44 #6444CF
analogous
#CFAA44 #AFCF44 #6ACF44
triadic
#AFCF44 #44AFCF #CF44AF
tetradic
#AFCF44 #44CFAA #6444CF #CF446A
square
#AFCF44 #44CFAA #6444CF #CF446A
split-complementary
#AFCF44 #446ACF #AA44CF
monochromatic
#65791F #8DAA2C #AFCF44 #C4DC75 #D9E8A5

Accessibility & contrast

On white

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

On black

11.83
#AFCF44 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF44
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF44#FFFFFF#000000##000000
##AFCF441.001.7711.8311.83
#FFFFFF1.771.0021.0021.00
#00000011.8321.001.001.00
##00000011.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcf44;
/* rgb */ color: rgb(175, 207, 68);
/* oklch */ color: oklch(80.5% 0.166 121.4);
Tailwind
colors: {
  custom: {
    50: '#cadd7f',
    500: '#afcf44',
    950: '#000000',
  },
}
SCSS
$custom: #afcf44;
$custom-light: #cadd7f;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf44",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 68
  },
  "hsl": {
    "h": 73.813,
    "s": 59.149,
    "l": 53.922
  },
  "oklch": {
    "l": 0.80496,
    "c": 0.1658,
    "h": 121.4
  },
  "luminance": 0.54157
}

Semantic roles & 50–950 ramp

primary
#AFCF44
secondary
#473682
accent
#45E26A
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF44

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

Preview Lab → · Contrast checker → · Palette generator →

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