#AFC647#AFC647

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

Color values

HEX#AFC647
RGBrgb(175, 198, 71)
HSLhsl(71, 53%, 53%)
HSVhsv(71, 64%, 78%)
CMYKcmyk(11.6%, 0%, 64.1%, 22.4%)
CIE-LABlab(76.04, -25.16, 58.85)
CIE-LCHlch(76.04, 64.00, 113.14°)
OKLaboklab(78.48% -0.0737 0.1339)
OKLCHoklch(78.48% 0.153 118.8)
XYZxyz(39.0113, 49.9573, 13.5476)
Luminance0.4996 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC647 #5E47C6
analogous
#C69D47 #AFC647 #70C647
triadic
#AFC647 #47AFC6 #C647AF
tetradic
#AFC647 #47C69D #5E47C6 #C64770
square
#AFC647 #47C69D #5E47C6 #C64770
split-complementary
#AFC647 #4770C6 #9D47C6
monochromatic
#627023 #8B9F31 #AFC647 #C3D476 #D8E3A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC647#FFFFFF#000000##000000
##AFC6471.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)
#D2BB36
Deuteranopia (green-blind)
#D0BC50
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc647;
/* rgb */ color: rgb(175, 198, 71);
/* oklch */ color: oklch(78.5% 0.153 118.8);
Tailwind
colors: {
  custom: {
    50: '#cad780',
    500: '#afc647',
    950: '#000000',
  },
}
SCSS
$custom: #afc647;
$custom-light: #cad780;
$custom-dark: #000000;
JSON
{
  "hex": "#afc647",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 71
  },
  "hsl": {
    "h": 70.866,
    "s": 52.697,
    "l": 52.745
  },
  "oklch": {
    "l": 0.78483,
    "c": 0.15282,
    "h": 118.8
  },
  "luminance": 0.49957
}

Semantic roles & 50–950 ramp

primary
#AFC647
secondary
#A399D0
accent
#4CDC66
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140B
muted
#82837C

Preview Lab

Preview with #AFC647

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

Preview Lab → · Contrast checker → · Palette generator →

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