#AFBD23#AFBD23

#AFBD23 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#AFBD23
RGBrgb(175, 189, 35)
HSLhsl(65, 69%, 44%)
HSVhsv(65, 81%, 74%)
CMYKcmyk(7.4%, 0%, 81.5%, 25.9%)
CIE-LABlab(73.31, -22.57, 68.53)
CIE-LCHlch(73.31, 72.15, 108.23°)
OKLaboklab(76.22% -0.0696 0.1484)
OKLCHoklch(76.22% 0.164 115.1)
XYZxyz(36.1813, 45.6312, 8.4915)
Luminance0.4563 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD23 #3123BD
analogous
#BD7E23 #AFBD23 #62BD23
triadic
#AFBD23 #23AFBD #BD23AF
tetradic
#AFBD23 #23BD7E #3123BD #BD2362
square
#AFBD23 #23BD7E #3123BD #BD2362
split-complementary
#AFBD23 #2362BD #7E23BD
monochromatic
#4F5610 #7F8919 #AFBD23 #CEDC41 #DBE575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD23#FFFFFF#000000##000000
##AFBD231.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)
#CAB533
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd23;
/* rgb */ color: rgb(175, 189, 35);
/* oklch */ color: oklch(76.2% 0.164 115.1);
Tailwind
colors: {
  custom: {
    50: '#cbd06e',
    500: '#afbd23',
    950: '#000000',
  },
}
SCSS
$custom: #afbd23;
$custom-light: #cbd06e;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd23",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 35
  },
  "hsl": {
    "h": 65.455,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.76217,
    "c": 0.16395,
    "h": 115.1
  },
  "luminance": 0.45631
}

Semantic roles & 50–950 ramp

primary
#AFBD23
secondary
#786FCD
accent
#3CEC4C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141408
muted
#83827B

Preview Lab

Preview with #AFBD23

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

Preview Lab → · Contrast checker → · Palette generator →

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