#AFCF4A#AFCF4A

#AFCF4A is a light, vivid yellow-green. Relative luminance 0.542; OKLCH L 80.5% C 0.161 H 121.7°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#AFCF4A
RGBrgb(175, 207, 74)
HSLhsl(74, 58%, 55%)
HSVhsv(74, 64%, 81%)
CMYKcmyk(15.5%, 0%, 64.3%, 18.8%)
CIE-LABlab(78.60, -29.26, 60.33)
CIE-LCHlch(78.60, 67.05, 115.87°)
OKLaboklab(80.55% -0.0848 0.1374)
OKLCHoklch(80.55% 0.161 121.7)
XYZxyz(41.2285, 54.2340, 14.7734)
Luminance0.5423 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCF4A #6A4ACF
analogous
#CFAC4A #AFCF4A #6CCF4A
triadic
#AFCF4A #4AAFCF #CF4AAF
tetradic
#AFCF4A #4ACFAC #6A4ACF #CF4A6C
square
#AFCF4A #4ACFAC #6A4ACF #CF4A6C
split-complementary
#AFCF4A #4A6CCF #AC4ACF
monochromatic
#677D21 #8FAE2E #AFCF4A #C4DC7A #DAE9AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFCF4A#FFFFFF#000000##000000
##AFCF4A1.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)
#DBC339
Deuteranopia (green-blind)
#D7C354
Tritanopia (blue-blind)
#B8C5B4
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #afcf4a;
/* rgb */ color: rgb(175, 207, 74);
/* oklch */ color: oklch(80.5% 0.161 121.7);
Tailwind
colors: {
  custom: {
    50: '#cadd83',
    500: '#afcf4a',
    950: '#000000',
  },
}
SCSS
$custom: #afcf4a;
$custom-light: #cadd83;
$custom-dark: #000000;
JSON
{
  "hex": "#afcf4a",
  "rgb": {
    "r": 175,
    "g": 207,
    "b": 74
  },
  "hsl": {
    "h": 74.436,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80547,
    "c": 0.16149,
    "h": 121.7
  },
  "luminance": 0.54234
}

Semantic roles & 50–950 ramp

primary
#AFCF4A
secondary
#4B3885
accent
#46E16C
background
#FEFEFB
surface
#FBFCF2
border
#D4D5CC
text
#14150B
muted
#83847E

Preview Lab

Preview with #AFCF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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