#AFCF54#AFCF54

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

Color values

HEX#AFCF54
RGBrgb(175, 207, 84)
HSLhsl(76, 56%, 57%)
HSVhsv(76, 59%, 81%)
CMYKcmyk(15.5%, 0%, 59.4%, 18.8%)
CIE-LABlab(78.68, -28.51, 56.21)
CIE-LCHlch(78.68, 63.03, 116.90°)
OKLaboklab(80.64% -0.0818 0.13)
OKLCHoklch(80.64% 0.154 122.2)
XYZxyz(41.5926, 54.3796, 16.6909)
Luminance0.5438 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF54 #7454CF
analogous
#CFB254 #AFCF54 #72CF54
triadic
#AFCF54 #54AFCF #CF54AF
tetradic
#AFCF54 #54CFB2 #7454CF #CF5472
square
#AFCF54 #54CFB2 #7454CF #CF5472
split-complementary
#AFCF54 #5472CF #B254CF
monochromatic
#6B8425 #92B332 #AFCF54 #C5DC84 #DCEAB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF54#FFFFFF#000000##000000
##AFCF541.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)
#DAC346
Deuteranopia (green-blind)
#D6C35C
Tritanopia (blue-blind)
#B7C5B5
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf54;
/* rgb */ color: rgb(175, 207, 84);
/* oklch */ color: oklch(80.6% 0.154 122.2);
Tailwind
colors: {
  custom: {
    50: '#c9dd89',
    500: '#afcf54',
    950: '#000000',
  },
}
SCSS
$custom: #afcf54;
$custom-light: #c9dd89;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf54",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 84
  },
  "hsl": {
    "h": 75.61,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80642,
    "c": 0.15356,
    "h": 122.2
  },
  "luminance": 0.5438
}

Semantic roles & 50–950 ramp

primary
#AFCF54
secondary
#513C8B
accent
#48DF70
background
#FEFEFC
surface
#FBFCF4
border
#D4D5CE
text
#13150C
muted
#83847F

Preview Lab

Preview with #AFCF54

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

Preview Lab → · Contrast checker → · Palette generator →

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