#AFCF4C#AFCF4C

#AFCF4C is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.6% C 0.160 H 121.8°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#AFCF4C
RGBrgb(175, 207, 76)
HSLhsl(75, 58%, 55%)
HSVhsv(75, 63%, 81%)
CMYKcmyk(15.5%, 0%, 63.3%, 18.8%)
CIE-LABlab(78.61, -29.12, 59.53)
CIE-LCHlch(78.61, 66.27, 116.07°)
OKLaboklab(80.57% -0.0842 0.136)
OKLCHoklch(80.57% 0.16 121.8)
XYZxyz(41.2970, 54.2614, 15.1340)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF4C #6C4CCF
analogous
#CFAD4C #AFCF4C #6ECF4C
triadic
#AFCF4C #4CAFCF #CF4CAF
tetradic
#AFCF4C #4CCFAD #6C4CCF #CF4C6E
square
#AFCF4C #4CCFAD #6C4CCF #CF4C6E
split-complementary
#AFCF4C #4C6ECF #AD4CCF
monochromatic
#687F22 #90AF2F #AFCF4C #C5DC7C #DAE9AD

Accessibility & contrast

On white

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

On black

11.85
#AFCF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCF4C
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCF4C#FFFFFF#000000##000000
##AFCF4C1.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC33B
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#B8C5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf4c;
/* rgb */ color: rgb(175, 207, 76);
/* oklch */ color: oklch(80.6% 0.160 121.8);
Tailwind
colors: {
  custom: {
    50: '#cadd84',
    500: '#afcf4c',
    950: '#000000',
  },
}
SCSS
$custom: #afcf4c;
$custom-light: #cadd84;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf4c",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 76
  },
  "hsl": {
    "h": 74.656,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.80565,
    "c": 0.15996,
    "h": 121.8
  },
  "luminance": 0.54261
}

Semantic roles & 50–950 ramp

primary
#AFCF4C
secondary
#4C3986
accent
#47E16C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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