#AFBD20#AFBD20

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

Color values

HEX#AFBD20
RGBrgb(175, 189, 32)
HSLhsl(65, 71%, 43%)
HSVhsv(65, 83%, 74%)
CMYKcmyk(7.4%, 0%, 83.1%, 25.9%)
CIE-LABlab(73.29, -22.66, 69.27)
CIE-LCHlch(73.29, 72.88, 108.12°)
OKLaboklab(76.2% -0.0701 0.1495)
OKLCHoklch(76.2% 0.165 115.1)
XYZxyz(36.1386, 45.6141, 8.2669)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD20 #2E20BD
analogous
#BD7C20 #AFBD20 #61BD20
triadic
#AFBD20 #20AFBD #BD20AF
tetradic
#AFBD20 #20BD7C #2E20BD #BD2061
square
#AFBD20 #20BD7C #2E20BD #BD2061
split-complementary
#AFBD20 #2061BD #7C20BD
monochromatic
#4E540E #7F8917 #AFBD20 #D0DE3C #DCE771

Accessibility & contrast

On white

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

On black

10.12
#AFBD20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD20
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD20#FFFFFF#000000##000000
##AFBD201.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbd20;
/* rgb */ color: rgb(175, 189, 32);
/* oklch */ color: oklch(76.2% 0.165 115.1);
Tailwind
colors: {
  custom: {
    50: '#cbd06d',
    500: '#afbd20',
    950: '#000000',
  },
}
SCSS
$custom: #afbd20;
$custom-light: #cbd06d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd20",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 32
  },
  "hsl": {
    "h": 65.35,
    "s": 71.041,
    "l": 43.333
  },
  "oklch": {
    "l": 0.76204,
    "c": 0.16513,
    "h": 115.1
  },
  "luminance": 0.45613
}

Semantic roles & 50–950 ramp

primary
#AFBD20
secondary
#746BCD
accent
#3AEE4A
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #AFBD20

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

Preview Lab → · Contrast checker → · Palette generator →

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