#AFBD24#AFBD24

#AFBD24 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.2% C 0.164 H 115.1°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#AFBD24
RGBrgb(175, 189, 36)
HSLhsl(65, 68%, 44%)
HSVhsv(65, 81%, 74%)
CMYKcmyk(7.4%, 0%, 81%, 25.9%)
CIE-LABlab(73.31, -22.53, 68.27)
CIE-LCHlch(73.31, 71.89, 108.27°)
OKLaboklab(76.22% -0.0695 0.148)
OKLCHoklch(76.22% 0.164 115.1)
XYZxyz(36.1963, 45.6372, 8.5708)
Luminance0.4564 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD24 #3224BD
analogous
#BD7F24 #AFBD24 #63BD24
triadic
#AFBD24 #24AFBD #BD24AF
tetradic
#AFBD24 #24BD7F #3224BD #BD2463
square
#AFBD24 #24BD7F #3224BD #BD2463
split-complementary
#AFBD24 #2463BD #7F24BD
monochromatic
#505610 #7F8A1A #AFBD24 #CDDB43 #DBE576

Accessibility & contrast

On white

2.07
#AFBD24 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#AFBD24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD24
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD24#FFFFFF#000000##000000
##AFBD241.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CAB534
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd24;
/* rgb */ color: rgb(175, 189, 36);
/* oklch */ color: oklch(76.2% 0.164 115.1);
Tailwind
colors: {
  custom: {
    50: '#cbd06e',
    500: '#afbd24',
    950: '#000000',
  },
}
SCSS
$custom: #afbd24;
$custom-light: #cbd06e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd24",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 36
  },
  "hsl": {
    "h": 65.49,
    "s": 68,
    "l": 44.118
  },
  "oklch": {
    "l": 0.76221,
    "c": 0.16353,
    "h": 115.1
  },
  "luminance": 0.45637
}

Semantic roles & 50–950 ramp

primary
#AFBD24
secondary
#7970CC
accent
#3DEB4D
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #AFBD24

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

Preview Lab → · Contrast checker → · Palette generator →

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