#AFCA2A#AFCA2A

#AFCA2A is a light, vivid yellow-green. Relative luminance 0.515; OKLCH L 79.2% C 0.175 H 119.3°. Best body text is #000000 at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#AFCA2A
RGBrgb(175, 202, 42)
HSLhsl(70, 66%, 48%)
HSVhsv(70, 79%, 79%)
CMYKcmyk(13.4%, 0%, 79.2%, 20.8%)
CIE-LABlab(76.99, -28.60, 69.89)
CIE-LCHlch(76.99, 75.52, 112.25°)
OKLaboklab(79.19% -0.0857 0.1525)
OKLCHoklch(79.19% 0.175 119.3)
XYZxyz(39.2185, 51.5224, 10.0688)
Luminance0.5152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA2A #452ACA
analogous
#CA952A #AFCA2A #5FCA2A
triadic
#AFCA2A #2AAFCA #CA2AAF
tetradic
#AFCA2A #2ACA95 #452ACA #CA2A5F
square
#AFCA2A #2ACA95 #452ACA #CA2A5F
split-complementary
#AFCA2A #2A5FCA #952ACA
monochromatic
#576515 #83971F #AFCA2A #C5DC55 #D6E688

Accessibility & contrast

On white

1.86
#AFCA2A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.30
#AFCA2A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA2A
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA2A#FFFFFF#000000##000000
##AFCA2A1.001.8611.3011.30
#FFFFFF1.861.0021.0021.00
#00000011.3021.001.001.00
##00000011.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE00
Deuteranopia (green-blind)
#D4BF3A
Tritanopia (blue-blind)
#BABFAD
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca2a;
/* rgb */ color: rgb(175, 202, 42);
/* oklch */ color: oklch(79.2% 0.175 119.3);
Tailwind
colors: {
  custom: {
    50: '#cbda72',
    500: '#afca2a',
    950: '#000000',
  },
}
SCSS
$custom: #afca2a;
$custom-light: #cbda72;
$custom-dark: #000000;
JSON
{
  "hex": "#afca2a",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 42
  },
  "hsl": {
    "h": 70.125,
    "s": 65.574,
    "l": 47.843
  },
  "oklch": {
    "l": 0.79193,
    "c": 0.17497,
    "h": 119.3
  },
  "luminance": 0.51522
}

Semantic roles & 50–950 ramp

primary
#AFCA2A
secondary
#35296F
accent
#3FE95C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFCA2A

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

Preview Lab → · Contrast checker → · Palette generator →

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