#AFCA37#AFCA37

#AFCA37 is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.3% C 0.168 H 119.6°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#AFCA37
RGBrgb(175, 202, 55)
HSLhsl(71, 58%, 50%)
HSVhsv(71, 73%, 79%)
CMYKcmyk(13.4%, 0%, 72.8%, 20.8%)
CIE-LABlab(77.06, -28.02, 65.91)
CIE-LCHlch(77.06, 71.62, 113.03°)
OKLaboklab(79.27% -0.0831 0.1463)
OKLCHoklch(79.27% 0.168 119.6)
XYZxyz(39.4901, 51.6311, 11.4991)
Luminance0.5163 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA37 #5237CA
analogous
#CA9B37 #AFCA37 #66CA37
triadic
#AFCA37 #37AFCA #CA37AF
tetradic
#AFCA37 #37CA9B #5237CA #CA3766
square
#AFCA37 #37CA9B #5237CA #CA3766
split-complementary
#AFCA37 #3766CA #9B37CA
monochromatic
#5C6A1C #869B29 #AFCA37 #C2D767 #D6E498

Accessibility & contrast

On white

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

On black

11.33
#AFCA37 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA37
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA37#FFFFFF#000000##000000
##AFCA371.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1A
Deuteranopia (green-blind)
#D4BF44
Tritanopia (blue-blind)
#B9BFAE
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #afca37;
/* rgb */ color: rgb(175, 202, 55);
/* oklch */ color: oklch(79.3% 0.168 119.6);
Tailwind
colors: {
  custom: {
    50: '#cada78',
    500: '#afca37',
    950: '#000000',
  },
}
SCSS
$custom: #afca37;
$custom-light: #cada78;
$custom-dark: #000000;
JSON
{
  "hex": "#afca37",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 55
  },
  "hsl": {
    "h": 71.02,
    "s": 58.103,
    "l": 50.392
  },
  "oklch": {
    "l": 0.79266,
    "c": 0.16825,
    "h": 119.6
  },
  "luminance": 0.51631
}

Semantic roles & 50–950 ramp

primary
#AFCA37
secondary
#3D3174
accent
#46E163
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#14140A
muted
#83837D

Preview Lab

Preview with #AFCA37

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

Preview Lab → · Contrast checker → · Palette generator →

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