#AFC645#AFC645

#AFC645 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#AFC645
RGBrgb(175, 198, 69)
HSLhsl(71, 53%, 52%)
HSVhsv(71, 65%, 78%)
CMYKcmyk(11.6%, 0%, 65.2%, 22.4%)
CIE-LABlab(76.03, -25.29, 59.65)
CIE-LCHlch(76.03, 64.79, 112.98°)
OKLaboklab(78.47% -0.0743 0.1353)
OKLCHoklch(78.47% 0.154 118.8)
XYZxyz(38.9482, 49.9321, 13.2151)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC645 #5C45C6
analogous
#C69D45 #AFC645 #6EC645
triadic
#AFC645 #45AFC6 #C645AF
tetradic
#AFC645 #45C69D #5C45C6 #C6456E
square
#AFC645 #45C69D #5C45C6 #C6456E
split-complementary
#AFC645 #456EC6 #9D45C6
monochromatic
#616F22 #8A9E30 #AFC645 #C3D474 #D7E3A3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFC645#FFFFFF#000000##000000
##AFC6451.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)
#D2BB34
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#B9BCAC
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc645;
/* rgb */ color: rgb(175, 198, 69);
/* oklch */ color: oklch(78.5% 0.154 118.8);
Tailwind
colors: {
  custom: {
    50: '#cad77f',
    500: '#afc645',
    950: '#000000',
  },
}
SCSS
$custom: #afc645;
$custom-light: #cad77f;
$custom-dark: #000000;
JSON
{
  "hex": "#afc645",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 69
  },
  "hsl": {
    "h": 70.698,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.78466,
    "c": 0.15432,
    "h": 118.8
  },
  "luminance": 0.49932
}

Semantic roles & 50–950 ramp

primary
#AFC645
secondary
#A197CF
accent
#4BDC65
background
#FCFDF8
surface
#F9FAEF
border
#D2D3CA
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC645

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

Preview Lab → · Contrast checker → · Palette generator →

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