#AFCA36#AFCA36

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

Color values

HEX#AFCA36
RGBrgb(175, 202, 54)
HSLhsl(71, 58%, 50%)
HSVhsv(71, 73%, 79%)
CMYKcmyk(13.4%, 0%, 73.3%, 20.8%)
CIE-LABlab(77.05, -28.07, 66.25)
CIE-LCHlch(77.05, 71.95, 112.97°)
OKLaboklab(79.26% -0.0833 0.1468)
OKLCHoklch(79.26% 0.169 119.6)
XYZxyz(39.4664, 51.6216, 11.3741)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA36 #5136CA
analogous
#CA9B36 #AFCA36 #65CA36
triadic
#AFCA36 #36AFCA #CA36AF
tetradic
#AFCA36 #36CA9B #5136CA #CA3665
square
#AFCA36 #36CA9B #5136CA #CA3665
split-complementary
#AFCA36 #3665CA #9B36CA
monochromatic
#5C6A1C #859A29 #AFCA36 #C2D766 #D6E497

Accessibility & contrast

On white

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

On black

11.32
#AFCA36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA36
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA36#FFFFFF#000000##000000
##AFCA361.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afca36;
/* rgb */ color: rgb(175, 202, 54);
/* oklch */ color: oklch(79.3% 0.169 119.6);
Tailwind
colors: {
  custom: {
    50: '#cada78',
    500: '#afca36',
    950: '#000000',
  },
}
SCSS
$custom: #afca36;
$custom-light: #cada78;
$custom-dark: #000000;
JSON
{
  "hex": "#afca36",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 54
  },
  "hsl": {
    "h": 70.946,
    "s": 58.268,
    "l": 50.196
  },
  "oklch": {
    "l": 0.7926,
    "c": 0.16882,
    "h": 119.6
  },
  "luminance": 0.51621
}

Semantic roles & 50–950 ramp

primary
#AFCA36
secondary
#3D3174
accent
#46E163
background
#FEFEFB
surface
#FBFBF1
border
#D4D4CB
text
#141409
muted
#83837D

Preview Lab

Preview with #AFCA36

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

Preview Lab → · Contrast checker → · Palette generator →

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