#AFCF56#AFCF56

#AFCF56 is a light, vivid yellow-green. Relative luminance 0.544; OKLCH L 80.7% C 0.152 H 122.3°. Best body text is #000000 at 11.88:1 contrast (WCAG AA passes).

Color values

HEX#AFCF56
RGBrgb(175, 207, 86)
HSLhsl(76, 56%, 57%)
HSVhsv(76, 58%, 81%)
CMYKcmyk(15.5%, 0%, 58.5%, 18.8%)
CIE-LABlab(78.70, -28.35, 55.35)
CIE-LCHlch(78.70, 62.19, 117.12°)
OKLaboklab(80.66% -0.0812 0.1284)
OKLCHoklch(80.66% 0.152 122.3)
XYZxyz(41.6721, 54.4114, 17.1094)
Luminance0.5441 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF56 #7656CF
analogous
#CFB356 #AFCF56 #72CF56
triadic
#AFCF56 #56AFCF #CF56AF
tetradic
#AFCF56 #56CFB3 #7656CF #CF5672
square
#AFCF56 #56CFB3 #7656CF #CF5672
split-complementary
#AFCF56 #5672CF #B356CF
monochromatic
#6C8526 #92B533 #AFCF56 #C6DD86 #DCEAB5

Accessibility & contrast

On white

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

On black

11.88
#AFCF56 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF56
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF56#FFFFFF#000000##000000
##AFCF561.001.7711.8811.88
#FFFFFF1.771.0021.0021.00
#00000011.8821.001.001.00
##00000011.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC449
Deuteranopia (green-blind)
#D6C35E
Tritanopia (blue-blind)
#B7C5B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf56;
/* rgb */ color: rgb(175, 207, 86);
/* oklch */ color: oklch(80.7% 0.152 122.3);
Tailwind
colors: {
  custom: {
    50: '#c9dd8a',
    500: '#afcf56',
    950: '#000000',
  },
}
SCSS
$custom: #afcf56;
$custom-light: #c9dd8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf56",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 86
  },
  "hsl": {
    "h": 75.868,
    "s": 55.76,
    "l": 57.451
  },
  "oklch": {
    "l": 0.80663,
    "c": 0.15186,
    "h": 122.3
  },
  "luminance": 0.54411
}

Semantic roles & 50–950 ramp

primary
#AFCF56
secondary
#523D8C
accent
#49DF70
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF56

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

Preview Lab → · Contrast checker → · Palette generator →

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