#AFCF57#AFCF57

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

Color values

HEX#AFCF57
RGBrgb(175, 207, 87)
HSLhsl(76, 56%, 58%)
HSVhsv(76, 58%, 81%)
CMYKcmyk(15.5%, 0%, 58%, 18.8%)
CIE-LABlab(78.71, -28.27, 54.92)
CIE-LCHlch(78.71, 61.77, 117.23°)
OKLaboklab(80.67% -0.0808 0.1275)
OKLCHoklch(80.67% 0.151 122.4)
XYZxyz(41.7127, 54.4276, 17.3230)
Luminance0.5443 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF57 #7757CF
analogous
#CFB357 #AFCF57 #73CF57
triadic
#AFCF57 #57AFCF #CF57AF
tetradic
#AFCF57 #57CFB3 #7757CF #CF5773
square
#AFCF57 #57CFB3 #7757CF #CF5773
split-complementary
#AFCF57 #5773CF #B357CF
monochromatic
#6C8526 #93B534 #AFCF57 #C6DD87 #DCEAB6

Accessibility & contrast

On white

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

On black

11.89
#AFCF57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF57
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF57#FFFFFF#000000##000000
##AFCF571.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afcf57;
/* rgb */ color: rgb(175, 207, 87);
/* oklch */ color: oklch(80.7% 0.151 122.4);
Tailwind
colors: {
  custom: {
    50: '#c9dd8b',
    500: '#afcf57',
    950: '#000000',
  },
}
SCSS
$custom: #afcf57;
$custom-light: #c9dd8b;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf57",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 87
  },
  "hsl": {
    "h": 76,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80674,
    "c": 0.15101,
    "h": 122.4
  },
  "luminance": 0.54428
}

Semantic roles & 50–950 ramp

primary
#AFCF57
secondary
#533E8C
accent
#49DF71
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF57

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

Preview Lab → · Contrast checker → · Palette generator →

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