#AFC440#AFC440

#AFC440 is a light, vivid yellow. Relative luminance 0.490; OKLCH L 78.0% C 0.156 H 118.0°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#AFC440
RGBrgb(175, 196, 64)
HSLhsl(70, 53%, 51%)
HSVhsv(70, 67%, 77%)
CMYKcmyk(10.7%, 0%, 67.3%, 23.1%)
CIE-LABlab(75.43, -24.64, 61.01)
CIE-LCHlch(75.43, 65.79, 111.99°)
OKLaboklab(77.97% -0.0729 0.1374)
OKLCHoklch(77.97% 0.156 118)
XYZxyz(38.3453, 48.9643, 12.2805)
Luminance0.4896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC440 #5540C4
analogous
#C49740 #AFC440 #6DC440
triadic
#AFC440 #40AFC4 #C440AF
tetradic
#AFC440 #40C497 #5540C4 #C4406D
square
#AFC440 #40C497 #5540C4 #C4406D
split-complementary
#AFC440 #406DC4 #9740C4
monochromatic
#5E6920 #87982F #AFC440 #C3D26F #D6E19E

Accessibility & contrast

On white

1.95
#AFC440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#AFC440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC440
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC440#FFFFFF#000000##000000
##AFC4401.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA2C
Deuteranopia (green-blind)
#CFBA4A
Tritanopia (blue-blind)
#B9B9A9
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #afc440;
/* rgb */ color: rgb(175, 196, 64);
/* oklch */ color: oklch(78.0% 0.156 118.0);
Tailwind
colors: {
  custom: {
    50: '#cad57c',
    500: '#afc440',
    950: '#000000',
  },
}
SCSS
$custom: #afc440;
$custom-light: #cad57c;
$custom-dark: #000000;
JSON
{
  "hex": "#afc440",
  "rgb": {
    "r": 175,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 69.545,
    "s": 52.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77973,
    "c": 0.15555,
    "h": 118
  },
  "luminance": 0.48964
}

Semantic roles & 50–950 ramp

primary
#AFC440
secondary
#9C93CD
accent
#4CDC63
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC440

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

Preview Lab → · Contrast checker → · Palette generator →

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