#AFCA4C#AFCA4C

#AFCA4C is a light, vivid yellow-green. Relative luminance 0.519; OKLCH L 79.4% C 0.154 H 120.3°. Best body text is #000000 at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#AFCA4C
RGBrgb(175, 202, 76)
HSLhsl(73, 54%, 55%)
HSVhsv(73, 62%, 79%)
CMYKcmyk(13.4%, 0%, 62.4%, 20.8%)
CIE-LABlab(77.21, -26.73, 58.02)
CIE-LCHlch(77.21, 63.88, 114.74°)
OKLaboklab(79.43% -0.0776 0.1328)
OKLCHoklch(79.43% 0.154 120.3)
XYZxyz(40.1048, 51.8769, 14.7366)
Luminance0.5188 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA4C #674CCA
analogous
#CAA64C #AFCA4C #70CA4C
triadic
#AFCA4C #4CAFCA #CA4CAF
tetradic
#AFCA4C #4CCAA6 #674CCA #CA4C70
square
#AFCA4C #4CCAA6 #674CCA #CA4C70
split-complementary
#AFCA4C #4C70CA #A64CCA
monochromatic
#667824 #8EA732 #AFCA4C #C4D87B #D9E6AA

Accessibility & contrast

On white

1.85
#AFCA4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.38
#AFCA4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA4C
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA4C#FFFFFF#000000##000000
##AFCA4C1.001.8511.3811.38
#FFFFFF1.851.0021.0021.00
#00000011.3821.001.001.00
##00000011.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF3D
Deuteranopia (green-blind)
#D3BF55
Tritanopia (blue-blind)
#B8C0B0
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca4c;
/* rgb */ color: rgb(175, 202, 76);
/* oklch */ color: oklch(79.4% 0.154 120.3);
Tailwind
colors: {
  custom: {
    50: '#cada84',
    500: '#afca4c',
    950: '#000000',
  },
}
SCSS
$custom: #afca4c;
$custom-light: #cada84;
$custom-dark: #000000;
JSON
{
  "hex": "#afca4c",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 76
  },
  "hsl": {
    "h": 72.857,
    "s": 54.31,
    "l": 54.51
  },
  "oklch": {
    "l": 0.79432,
    "c": 0.15381,
    "h": 120.3
  },
  "luminance": 0.51877
}

Semantic roles & 50–950 ramp

primary
#AFCA4C
secondary
#493A80
accent
#4ADE6A
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCA4C

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

Preview Lab → · Contrast checker → · Palette generator →

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