#AFBB32#AFBB32

#AFBB32 is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.8% C 0.154 H 114.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#AFBB32
RGBrgb(175, 187, 50)
HSLhsl(65, 58%, 46%)
HSVhsv(65, 73%, 73%)
CMYKcmyk(6.4%, 0%, 73.3%, 26.7%)
CIE-LABlab(72.82, -20.98, 63.55)
CIE-LCHlch(72.82, 66.93, 108.27°)
OKLaboklab(75.85% -0.0641 0.1405)
OKLCHoklch(75.85% 0.154 114.5)
XYZxyz(36.0263, 44.8856, 9.7830)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB32 #3E32BB
analogous
#BB8332 #AFBB32 #6BBB32
triadic
#AFBB32 #32AFBB #BB32AF
tetradic
#AFBB32 #32BB83 #3E32BB #BB326B
square
#AFBB32 #32BB83 #3E32BB #BB326B
split-complementary
#AFBB32 #326BBB #8332BB
monochromatic
#555A18 #828B25 #AFBB32 #C8D258 #D8DF88

Accessibility & contrast

On white

2.10
#AFBB32 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#AFBB32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB32
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB32#FFFFFF#000000##000000
##AFBB321.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B216
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#BBB0A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb32;
/* rgb */ color: rgb(175, 187, 50);
/* oklch */ color: oklch(75.8% 0.154 114.5);
Tailwind
colors: {
  custom: {
    50: '#cacf74',
    500: '#afbb32',
    950: '#000000',
  },
}
SCSS
$custom: #afbb32;
$custom-light: #cacf74;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb32",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 50
  },
  "hsl": {
    "h": 65.255,
    "s": 57.806,
    "l": 46.471
  },
  "oklch": {
    "l": 0.75847,
    "c": 0.15438,
    "h": 114.5
  },
  "luminance": 0.44885
}

Semantic roles & 50–950 ramp

primary
#AFBB32
secondary
#8680C9
accent
#47E154
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141309
muted
#82827B

Preview Lab

Preview with #AFBB32

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

Preview Lab → · Contrast checker → · Palette generator →

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