#AFBE41#AFBE41

#AFBE41 is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.148 H 115.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#AFBE41
RGBrgb(175, 190, 65)
HSLhsl(67, 49%, 50%)
HSVhsv(67, 66%, 75%)
CMYKcmyk(7.9%, 0%, 65.8%, 25.5%)
CIE-LABlab(73.75, -21.63, 58.89)
CIE-LCHlch(73.75, 62.74, 110.17°)
OKLaboklab(76.63% -0.0645 0.1331)
OKLCHoklch(76.63% 0.148 115.8)
XYZxyz(37.0476, 46.3231, 11.9896)
Luminance0.4632 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE41 #5041BE
analogous
#BE8F41 #AFBE41 #70BE41
triadic
#AFBE41 #41AFBE #BE41AF
tetradic
#AFBE41 #41BE8F #5041BE #BE4170
square
#AFBE41 #41BE8F #5041BE #BE4170
split-complementary
#AFBE41 #4170BE #8F41BE
monochromatic
#5B6322 #859031 #AFBE41 #C2CE6F #D5DD9C

Accessibility & contrast

On white

2.05
#AFBE41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#AFBE41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE41
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE41#FFFFFF#000000##000000
##AFBE411.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB430
Deuteranopia (green-blind)
#CAB64A
Tritanopia (blue-blind)
#BAB3A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe41;
/* rgb */ color: rgb(175, 190, 65);
/* oklch */ color: oklch(76.6% 0.148 115.8);
Tailwind
colors: {
  custom: {
    50: '#cad17c',
    500: '#afbe41',
    950: '#000000',
  },
}
SCSS
$custom: #afbe41;
$custom-light: #cad17c;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe41",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 65
  },
  "hsl": {
    "h": 67.2,
    "s": 49.02,
    "l": 50
  },
  "oklch": {
    "l": 0.76631,
    "c": 0.14787,
    "h": 115.8
  },
  "luminance": 0.46323
}

Semantic roles & 50–950 ramp

primary
#AFBE41
secondary
#9891C9
accent
#4FD960
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE41

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

Preview Lab → · Contrast checker → · Palette generator →

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