#AFCF55#AFCF55

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

Color values

HEX#AFCF55
RGBrgb(175, 207, 85)
HSLhsl(76, 56%, 57%)
HSVhsv(76, 59%, 81%)
CMYKcmyk(15.5%, 0%, 58.9%, 18.8%)
CIE-LABlab(78.69, -28.43, 55.78)
CIE-LCHlch(78.69, 62.61, 117.01°)
OKLaboklab(80.65% -0.0815 0.1291)
OKLCHoklch(80.65% 0.153 122.3)
XYZxyz(41.6321, 54.3954, 16.8987)
Luminance0.5440 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF55 #7555CF
analogous
#CFB255 #AFCF55 #72CF55
triadic
#AFCF55 #55AFCF #CF55AF
tetradic
#AFCF55 #55CFB2 #7555CF #CF5572
square
#AFCF55 #55CFB2 #7555CF #CF5572
split-complementary
#AFCF55 #5572CF #B255CF
monochromatic
#6B8425 #92B433 #AFCF55 #C5DC85 #DCEAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF55#FFFFFF#000000##000000
##AFCF551.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)
#DAC347
Deuteranopia (green-blind)
#D6C35D
Tritanopia (blue-blind)
#B7C5B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf55;
/* rgb */ color: rgb(175, 207, 85);
/* oklch */ color: oklch(80.7% 0.153 122.3);
Tailwind
colors: {
  custom: {
    50: '#c9dd89',
    500: '#afcf55',
    950: '#000000',
  },
}
SCSS
$custom: #afcf55;
$custom-light: #c9dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf55",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 85
  },
  "hsl": {
    "h": 75.738,
    "s": 55.963,
    "l": 57.255
  },
  "oklch": {
    "l": 0.80653,
    "c": 0.15271,
    "h": 122.3
  },
  "luminance": 0.54395
}

Semantic roles & 50–950 ramp

primary
#AFCF55
secondary
#513D8B
accent
#49DF70
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF55

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

Preview Lab → · Contrast checker → · Palette generator →

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