#AFCA46#AFCA46

#AFCA46 is a light, vivid yellow-green. Relative luminance 0.518; OKLCH L 79.4% C 0.158 H 120.1°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#AFCA46
RGBrgb(175, 202, 70)
HSLhsl(72, 55%, 53%)
HSVhsv(72, 65%, 79%)
CMYKcmyk(13.4%, 0%, 65.3%, 20.8%)
CIE-LABlab(77.16, -27.15, 60.43)
CIE-LCHlch(77.16, 66.25, 114.19°)
OKLaboklab(79.38% -0.0793 0.1371)
OKLCHoklch(79.38% 0.158 120.1)
XYZxyz(39.9058, 51.7974, 13.6888)
Luminance0.5180 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFCA46 #6146CA
analogous
#CAA346 #AFCA46 #6DCA46
triadic
#AFCA46 #46AFCA #CA46AF
tetradic
#AFCA46 #46CAA3 #6146CA #CA466D
square
#AFCA46 #46CAA3 #6146CA #CA466D
split-complementary
#AFCA46 #466DCA #A346CA
monochromatic
#637421 #8CA42F #AFCA46 #C4D876 #D8E5A5

Accessibility & contrast

On white

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

On black

11.36
#AFCA46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFCA46
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFCA46#FFFFFF#000000##000000
##AFCA461.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF34
Deuteranopia (green-blind)
#D3BF50
Tritanopia (blue-blind)
#B8C0AF
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #afca46;
/* rgb */ color: rgb(175, 202, 70);
/* oklch */ color: oklch(79.4% 0.158 120.1);
Tailwind
colors: {
  custom: {
    50: '#cada80',
    500: '#afca46',
    950: '#000000',
  },
}
SCSS
$custom: #afca46;
$custom-light: #cada80;
$custom-dark: #000000;
JSON
{
  "hex": "#afca46",
  "rgb": {
    "r": 175,
    "g": 202,
    "b": 70
  },
  "hsl": {
    "h": 72.273,
    "s": 55.462,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79379,
    "c": 0.15837,
    "h": 120.1
  },
  "luminance": 0.51797
}

Semantic roles & 50–950 ramp

primary
#AFCA46
secondary
#45377D
accent
#49DF68
background
#FEFEFB
surface
#FBFBF2
border
#D4D4CC
text
#14140B
muted
#83837E

Preview Lab

Preview with #AFCA46

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

Preview Lab → · Contrast checker → · Palette generator →

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