#AFC641#AFC641

#AFC641 is a light, vivid yellow-green. Relative luminance 0.499; OKLCH L 78.4% C 0.157 H 118.6°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#AFC641
RGBrgb(175, 198, 65)
HSLhsl(70, 54%, 52%)
HSVhsv(70, 67%, 78%)
CMYKcmyk(11.6%, 0%, 67.2%, 22.4%)
CIE-LABlab(76.00, -25.54, 61.20)
CIE-LCHlch(76.00, 66.32, 112.66°)
OKLaboklab(78.43% -0.0754 0.138)
OKLCHoklch(78.43% 0.157 118.6)
XYZxyz(38.8282, 49.8841, 12.5831)
Luminance0.4988 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFC641 #5841C6
analogous
#C69B41 #AFC641 #6DC641
triadic
#AFC641 #41AFC6 #C641AF
tetradic
#AFC641 #41C69B #5841C6 #C6416D
square
#AFC641 #41C69B #5841C6 #C6416D
split-complementary
#AFC641 #416DC6 #9B41C6
monochromatic
#5F6C20 #889B2F #AFC641 #C3D470 #D7E29F

Accessibility & contrast

On white

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

On black

10.98
#AFC641 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFC641
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFC641#FFFFFF#000000##000000
##AFC6411.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB2D
Deuteranopia (green-blind)
#D0BC4B
Tritanopia (blue-blind)
#B9BBAB
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #afc641;
/* rgb */ color: rgb(175, 198, 65);
/* oklch */ color: oklch(78.4% 0.157 118.6);
Tailwind
colors: {
  custom: {
    50: '#cad77d',
    500: '#afc641',
    950: '#000000',
  },
}
SCSS
$custom: #afc641;
$custom-light: #cad77d;
$custom-dark: #000000;
JSON
{
  "hex": "#afc641",
  "rgb": {
    "r": 175,
    "g": 198,
    "b": 65
  },
  "hsl": {
    "h": 70.376,
    "s": 53.846,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78433,
    "c": 0.15719,
    "h": 118.6
  },
  "luminance": 0.49884
}

Semantic roles & 50–950 ramp

primary
#AFC641
secondary
#9E94CF
accent
#4BDD64
background
#FCFDF7
surface
#F9FAEE
border
#D2D3C9
text
#14140A
muted
#82837C

Preview Lab

Preview with #AFC641

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

Preview Lab → · Contrast checker → · Palette generator →

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