#AFBB24#AFBB24

#AFBB24 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 75.8% C 0.161 H 114.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#AFBB24
RGBrgb(175, 187, 36)
HSLhsl(65, 68%, 44%)
HSVhsv(65, 81%, 73%)
CMYKcmyk(6.4%, 0%, 80.7%, 26.7%)
CIE-LABlab(72.75, -21.55, 67.78)
CIE-LCHlch(72.75, 71.12, 107.64°)
OKLaboklab(75.77% -0.0667 0.147)
OKLCHoklch(75.77% 0.161 114.4)
XYZxyz(35.7691, 44.7827, 8.4284)
Luminance0.4478 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB24 #3024BB
analogous
#BB7B24 #AFBB24 #63BB24
triadic
#AFBB24 #24AFBB #BB24AF
tetradic
#AFBB24 #24BB7B #3024BB #BB2463
square
#AFBB24 #24BB7B #3024BB #BB2463
split-complementary
#AFBB24 #2463BB #7B24BB
monochromatic
#4F5410 #7F881A #AFBB24 #CEDB42 #DCE475

Accessibility & contrast

On white

2.11
#AFBB24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#AFBB24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB24
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB24#FFFFFF#000000##000000
##AFBB241.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#C9B433
Tritanopia (blue-blind)
#BBB0A0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #afbb24;
/* rgb */ color: rgb(175, 187, 36);
/* oklch */ color: oklch(75.8% 0.161 114.4);
Tailwind
colors: {
  custom: {
    50: '#cbcf6e',
    500: '#afbb24',
    950: '#000000',
  },
}
SCSS
$custom: #afbb24;
$custom-light: #cbcf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb24",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 36
  },
  "hsl": {
    "h": 64.768,
    "s": 67.713,
    "l": 43.725
  },
  "oklch": {
    "l": 0.75771,
    "c": 0.16144,
    "h": 114.4
  },
  "luminance": 0.44782
}

Semantic roles & 50–950 ramp

primary
#AFBB24
secondary
#766FCC
accent
#3DEB4B
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFBB24

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

Preview Lab → · Contrast checker → · Palette generator →

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