#AFCF4D#AFCF4D

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

Color values

HEX#AFCF4D
RGBrgb(175, 207, 77)
HSLhsl(75, 58%, 56%)
HSVhsv(75, 63%, 81%)
CMYKcmyk(15.5%, 0%, 62.8%, 18.8%)
CIE-LABlab(78.62, -29.05, 59.12)
CIE-LCHlch(78.62, 65.87, 116.16°)
OKLaboklab(80.57% -0.084 0.1353)
OKLCHoklch(80.57% 0.159 121.8)
XYZxyz(41.3320, 54.2754, 15.3185)
Luminance0.5427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF4D #6D4DCF
analogous
#CFAE4D #AFCF4D #6ECF4D
triadic
#AFCF4D #4DAFCF #CF4DAF
tetradic
#AFCF4D #4DCFAE #6D4DCF #CF4D6E
square
#AFCF4D #4DCFAE #6D4DCF #CF4D6E
split-complementary
#AFCF4D #4D6ECF #AE4DCF
monochromatic
#687F22 #90AF2F #AFCF4D #C5DC7D #DAE9AD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF4D#FFFFFF#000000##000000
##AFCF4D1.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)
#DBC33D
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#B8C5B4
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #afcf4d;
/* rgb */ color: rgb(175, 207, 77);
/* oklch */ color: oklch(80.6% 0.159 121.8);
Tailwind
colors: {
  custom: {
    50: '#cadd84',
    500: '#afcf4d',
    950: '#000000',
  },
}
SCSS
$custom: #afcf4d;
$custom-light: #cadd84;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf4d",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 77
  },
  "hsl": {
    "h": 74.769,
    "s": 57.522,
    "l": 55.686
  },
  "oklch": {
    "l": 0.80574,
    "c": 0.1592,
    "h": 121.8
  },
  "luminance": 0.54275
}

Semantic roles & 50–950 ramp

primary
#AFCF4D
secondary
#4C3987
accent
#47E16D
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF4D

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

Preview Lab → · Contrast checker → · Palette generator →

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