#AFBD32#AFBD32

#AFBD32 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.157 H 115.3°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#AFBD32
RGBrgb(175, 189, 50)
HSLhsl(66, 58%, 47%)
HSVhsv(66, 74%, 74%)
CMYKcmyk(7.4%, 0%, 73.5%, 25.9%)
CIE-LABlab(73.38, -21.97, 64.09)
CIE-LCHlch(73.38, 67.75, 108.92°)
OKLaboklab(76.3% -0.0668 0.1416)
OKLCHoklch(76.3% 0.157 115.3)
XYZxyz(36.4535, 45.7401, 9.9254)
Luminance0.4574 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD32 #4032BD
analogous
#BD8632 #AFBD32 #6ABD32
triadic
#AFBD32 #32AFBD #BD32AF
tetradic
#AFBD32 #32BD86 #4032BD #BD326A
square
#AFBD32 #32BD86 #4032BD #BD326A
split-complementary
#AFBD32 #326ABD #8632BD
monochromatic
#555C18 #828D25 #AFBD32 #C7D359 #D7E089

Accessibility & contrast

On white

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

On black

10.15
#AFBD32 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD32
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD32#FFFFFF#000000##000000
##AFBD321.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB315
Deuteranopia (green-blind)
#CAB53E
Tritanopia (blue-blind)
#BAB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd32;
/* rgb */ color: rgb(175, 189, 50);
/* oklch */ color: oklch(76.3% 0.157 115.3);
Tailwind
colors: {
  custom: {
    50: '#cad074',
    500: '#afbd32',
    950: '#000000',
  },
}
SCSS
$custom: #afbd32;
$custom-light: #cad074;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd32",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 50
  },
  "hsl": {
    "h": 66.043,
    "s": 58.159,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76296,
    "c": 0.15656,
    "h": 115.3
  },
  "luminance": 0.45739
}

Semantic roles & 50–950 ramp

primary
#AFBD32
secondary
#8881CA
accent
#46E156
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD32

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

Preview Lab → · Contrast checker → · Palette generator →

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