#AFCF64#AFCF64

#AFCF64 is a light, vivid yellow-green. Relative luminance 0.547; OKLCH L 80.8% C 0.139 H 123.3°. Best body text is #000000 at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#AFCF64
RGBrgb(175, 207, 100)
HSLhsl(78, 53%, 60%)
HSVhsv(78, 52%, 81%)
CMYKcmyk(15.5%, 0%, 51.7%, 18.8%)
CIE-LABlab(78.84, -27.09, 49.13)
CIE-LCHlch(78.84, 56.10, 118.88°)
OKLaboklab(80.83% -0.0764 0.1163)
OKLCHoklch(80.83% 0.139 123.3)
XYZxyz(42.2924, 54.6595, 20.3764)
Luminance0.5466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF64 #8464CF
analogous
#CFB964 #AFCF64 #79CF64
triadic
#AFCF64 #64AFCF #CF64AF
tetradic
#AFCF64 #64CFB9 #8464CF #CF6479
square
#AFCF64 #64CFB9 #8464CF #CF6479
split-complementary
#AFCF64 #6479CF #B964CF
monochromatic
#708D2C #95BC3A #AFCF64 #C7DD93 #DFECC1

Accessibility & contrast

On white

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

On black

11.93
#AFCF64 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF64
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF64#FFFFFF#000000##000000
##AFCF641.001.7611.9311.93
#FFFFFF1.761.0021.0021.00
#00000011.9321.001.001.00
##00000011.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C45A
Deuteranopia (green-blind)
#D5C36A
Tritanopia (blue-blind)
#B6C6B7
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf64;
/* rgb */ color: rgb(175, 207, 100);
/* oklch */ color: oklch(80.8% 0.139 123.3);
Tailwind
colors: {
  custom: {
    50: '#c9dd93',
    500: '#afcf64',
    950: '#000000',
  },
}
SCSS
$custom: #afcf64;
$custom-light: #c9dd93;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf64",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 100
  },
  "hsl": {
    "h": 77.944,
    "s": 52.709,
    "l": 60.196
  },
  "oklch": {
    "l": 0.80825,
    "c": 0.13915,
    "h": 123.3
  },
  "luminance": 0.5466
}

Semantic roles & 50–950 ramp

primary
#AFCF64
secondary
#5C4493
accent
#25C054
background
#FEFEFC
surface
#FAFCF4
border
#D3D5CE
text
#13150D
muted
#83847F

Preview Lab

Preview with #AFCF64

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

Preview Lab → · Contrast checker → · Palette generator →

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