#AFCF50#AFCF50

#AFCF50 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.6% C 0.157 H 122.0°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#AFCF50
RGBrgb(175, 207, 80)
HSLhsl(75, 57%, 56%)
HSVhsv(75, 61%, 81%)
CMYKcmyk(15.5%, 0%, 61.4%, 18.8%)
CIE-LABlab(78.65, -28.82, 57.89)
CIE-LCHlch(78.65, 64.67, 116.47°)
OKLaboklab(80.6% -0.0831 0.133)
OKLCHoklch(80.6% 0.157 122)
XYZxyz(41.4404, 54.3187, 15.8893)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF50 #7050CF
analogous
#CFB050 #AFCF50 #70CF50
triadic
#AFCF50 #50AFCF #CF50AF
tetradic
#AFCF50 #50CFB0 #7050CF #CF5070
square
#AFCF50 #50CFB0 #7050CF #CF5070
split-complementary
#AFCF50 #5070CF #B050CF
monochromatic
#6A8123 #91B131 #AFCF50 #C5DC80 #DBE9B0

Accessibility & contrast

On white

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

On black

11.86
#AFCF50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF50
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF50#FFFFFF#000000##000000
##AFCF501.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC341
Deuteranopia (green-blind)
#D7C359
Tritanopia (blue-blind)
#B7C5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf50;
/* rgb */ color: rgb(175, 207, 80);
/* oklch */ color: oklch(80.6% 0.157 122.0);
Tailwind
colors: {
  custom: {
    50: '#cadd86',
    500: '#afcf50',
    950: '#000000',
  },
}
SCSS
$custom: #afcf50;
$custom-light: #cadd86;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf50",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 80
  },
  "hsl": {
    "h": 75.118,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80602,
    "c": 0.15683,
    "h": 122
  },
  "luminance": 0.54319
}

Semantic roles & 50–950 ramp

primary
#AFCF50
secondary
#4E3B89
accent
#48E06E
background
#FEFEFC
surface
#FBFCF3
border
#D4D5CD
text
#14150C
muted
#83847F

Preview Lab

Preview with #AFCF50

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

Preview Lab → · Contrast checker → · Palette generator →

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