#AFC646#AFC646

#AFC646 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.5% C 0.154 H 118.8°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#AFC646
RGBrgb(175, 198, 70)
HSLhsl(71, 53%, 53%)
HSVhsv(71, 65%, 78%)
CMYKcmyk(11.6%, 0%, 64.6%, 22.4%)
CIE-LABlab(76.04, -25.22, 59.25)
CIE-LCHlch(76.04, 64.39, 113.06°)
OKLaboklab(78.47% -0.074 0.1346)
OKLCHoklch(78.47% 0.154 118.8)
XYZxyz(38.9795, 49.9446, 13.3800)
Luminance0.4994 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC646 #5D46C6
analogous
#C69D46 #AFC646 #6FC646
triadic
#AFC646 #46AFC6 #C646AF
tetradic
#AFC646 #46C69D #5D46C6 #C6466F
square
#AFC646 #46C69D #5D46C6 #C6466F
split-complementary
#AFC646 #466FC6 #9D46C6
monochromatic
#616F22 #8A9E31 #AFC646 #C3D475 #D7E3A4

Accessibility & contrast

On white

1.91
#AFC646 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.99
#AFC646 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC646
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC646#FFFFFF#000000##000000
##AFC6461.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB35
Deuteranopia (green-blind)
#D0BC4F
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc646;
/* rgb */ color: rgb(175, 198, 70);
/* oklch */ color: oklch(78.5% 0.154 118.8);
Tailwind
colors: {
  custom: {
    50: '#cad780',
    500: '#afc646',
    950: '#000000',
  },
}
SCSS
$custom: #afc646;
$custom-light: #cad780;
$custom-dark: #000000;
JSON
{
  "hex": "#afc646",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 70
  },
  "hsl": {
    "h": 70.781,
    "s": 52.893,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78474,
    "c": 0.15358,
    "h": 118.8
  },
  "luminance": 0.49944
}

Semantic roles & 50–950 ramp

primary
#AFC646
secondary
#A298D0
accent
#4BDC66
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC646

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

Preview Lab → · Contrast checker → · Palette generator →

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