#AFCA2B#AFCA2B

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

Color values

HEX#AFCA2B
RGBrgb(175, 202, 43)
HSLhsl(70, 65%, 48%)
HSVhsv(70, 79%, 79%)
CMYKcmyk(13.4%, 0%, 78.7%, 20.8%)
CIE-LABlab(77.00, -28.56, 69.62)
CIE-LCHlch(77.00, 75.25, 112.31°)
OKLaboklab(79.2% -0.0855 0.1521)
OKLCHoklch(79.2% 0.175 119.4)
XYZxyz(39.2366, 51.5297, 10.1642)
Luminance0.5153 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA2B #462BCA
analogous
#CA962B #AFCA2B #5FCA2B
triadic
#AFCA2B #2BAFCA #CA2BAF
tetradic
#AFCA2B #2BCA96 #462BCA #CA2B5F
square
#AFCA2B #2BCA96 #462BCA #CA2B5F
split-complementary
#AFCA2B #2B5FCA #962BCA
monochromatic
#586516 #839820 #AFCA2B #C5DB57 #D6E689

Accessibility & contrast

On white

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

On black

11.31
#AFCA2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA2B
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA2B#FFFFFF#000000##000000
##AFCA2B1.001.8611.3111.31
#FFFFFF1.861.0021.0021.00
#00000011.3121.001.001.00
##00000011.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca2b;
/* rgb */ color: rgb(175, 202, 43);
/* oklch */ color: oklch(79.2% 0.175 119.4);
Tailwind
colors: {
  custom: {
    50: '#cbda73',
    500: '#afca2b',
    950: '#000000',
  },
}
SCSS
$custom: #afca2b;
$custom-light: #cbda73;
$custom-dark: #000000;
JSON
{
  "hex": "#afca2b",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 43
  },
  "hsl": {
    "h": 70.189,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79198,
    "c": 0.17451,
    "h": 119.4
  },
  "luminance": 0.51529
}

Semantic roles & 50–950 ramp

primary
#AFCA2B
secondary
#362A6F
accent
#40E85C
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFCA2B

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

Preview Lab → · Contrast checker → · Palette generator →

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