#AFBE24#AFBE24

#AFBE24 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.4% C 0.165 H 115.5°. Best body text is #000000 at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#AFBE24
RGBrgb(175, 190, 36)
HSLhsl(66, 68%, 44%)
HSVhsv(66, 81%, 75%)
CMYKcmyk(7.9%, 0%, 81.1%, 25.5%)
CIE-LABlab(73.59, -23.03, 68.51)
CIE-LCHlch(73.59, 72.28, 108.58°)
OKLaboklab(76.45% -0.0708 0.1486)
OKLCHoklch(76.45% 0.165 115.5)
XYZxyz(36.4122, 46.0689, 8.6428)
Luminance0.4607 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE24 #3324BE
analogous
#BE8024 #AFBE24 #62BE24
triadic
#AFBE24 #24AFBE #BE24AF
tetradic
#AFBE24 #24BE80 #3324BE #BE2462
square
#AFBE24 #24BE80 #3324BE #BE2462
split-complementary
#AFBE24 #2462BE #8024BE
monochromatic
#505711 #808B1A #AFBE24 #CDDC44 #DBE577

Accessibility & contrast

On white

2.06
#AFBE24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.21
#AFBE24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE24
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE24#FFFFFF#000000##000000
##AFBE241.002.0610.2110.21
#FFFFFF2.061.0021.0021.00
#00000010.2121.001.001.00
##00000010.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB400
Deuteranopia (green-blind)
#CBB634
Tritanopia (blue-blind)
#BBB3A2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe24;
/* rgb */ color: rgb(175, 190, 36);
/* oklch */ color: oklch(76.4% 0.165 115.5);
Tailwind
colors: {
  custom: {
    50: '#cbd16e',
    500: '#afbe24',
    950: '#000000',
  },
}
SCSS
$custom: #afbe24;
$custom-light: #cbd16e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe24",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 36
  },
  "hsl": {
    "h": 65.844,
    "s": 68.142,
    "l": 44.314
  },
  "oklch": {
    "l": 0.76446,
    "c": 0.16459,
    "h": 115.5
  },
  "luminance": 0.46068
}

Semantic roles & 50–950 ramp

primary
#AFBE24
secondary
#7A71CD
accent
#3DEB4E
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #AFBE24

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

Preview Lab → · Contrast checker → · Palette generator →

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