#AFCF60#AFCF60

#AFCF60 is a light, vivid yellow-green. Relative luminance 0.546; OKLCH L 80.8% C 0.143 H 123.0°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#AFCF60
RGBrgb(175, 207, 96)
HSLhsl(77, 54%, 59%)
HSVhsv(77, 54%, 81%)
CMYKcmyk(15.5%, 0%, 53.6%, 18.8%)
CIE-LABlab(78.80, -27.47, 50.94)
CIE-LCHlch(78.80, 57.88, 118.34°)
OKLaboklab(80.78% -0.0778 0.1199)
OKLCHoklch(80.78% 0.143 123)
XYZxyz(42.1035, 54.5840, 19.3817)
Luminance0.5458 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF60 #8060CF
analogous
#CFB760 #AFCF60 #78CF60
triadic
#AFCF60 #60AFCF #CF60AF
tetradic
#AFCF60 #60CFB7 #8060CF #CF6078
square
#AFCF60 #60CFB7 #8060CF #CF6078
split-complementary
#AFCF60 #6078CF #B760CF
monochromatic
#6F8B2A #94BA38 #AFCF60 #C7DD8F #DEEBBE

Accessibility & contrast

On white

1.76
#AFCF60 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.92
#AFCF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF60
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF60#FFFFFF#000000##000000
##AFCF601.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC455
Deuteranopia (green-blind)
#D5C367
Tritanopia (blue-blind)
#B6C6B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf60;
/* rgb */ color: rgb(175, 207, 96);
/* oklch */ color: oklch(80.8% 0.143 123.0);
Tailwind
colors: {
  custom: {
    50: '#c9dd90',
    500: '#afcf60',
    950: '#000000',
  },
}
SCSS
$custom: #afcf60;
$custom-light: #c9dd90;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf60",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 96
  },
  "hsl": {
    "h": 77.297,
    "s": 53.623,
    "l": 59.412
  },
  "oklch": {
    "l": 0.80776,
    "c": 0.14293,
    "h": 123
  },
  "luminance": 0.54584
}

Semantic roles & 50–950 ramp

primary
#AFCF60
secondary
#594291
accent
#4BDD75
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF60

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

Preview Lab → · Contrast checker → · Palette generator →

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