#AFBD29#AFBD29

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

Color values

HEX#AFBD29
RGBrgb(175, 189, 41)
HSLhsl(66, 64%, 45%)
HSVhsv(66, 78%, 74%)
CMYKcmyk(7.4%, 0%, 78.3%, 25.9%)
CIE-LABlab(73.33, -22.35, 66.89)
CIE-LCHlch(73.33, 70.53, 108.48°)
OKLaboklab(76.24% -0.0686 0.146)
OKLCHoklch(76.24% 0.161 115.2)
XYZxyz(36.2781, 45.6699, 9.0015)
Luminance0.4567 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD29 #3729BD
analogous
#BD8129 #AFBD29 #65BD29
triadic
#AFBD29 #29AFBD #BD29AF
tetradic
#AFBD29 #29BD81 #3729BD #BD2965
square
#AFBD29 #29BD81 #3729BD #BD2965
split-complementary
#AFBD29 #2965BD #8129BD
monochromatic
#525813 #808B1E #AFBD29 #CBD84B #D9E37D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #afbd29;
/* rgb */ color: rgb(175, 189, 41);
/* oklch */ color: oklch(76.2% 0.161 115.2);
Tailwind
colors: {
  custom: {
    50: '#cbd070',
    500: '#afbd29',
    950: '#000000',
  },
}
SCSS
$custom: #afbd29;
$custom-light: #cbd070;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd29",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 41
  },
  "hsl": {
    "h": 65.676,
    "s": 64.348,
    "l": 45.098
  },
  "oklch": {
    "l": 0.76245,
    "c": 0.16129,
    "h": 115.2
  },
  "luminance": 0.45669
}

Semantic roles & 50–950 ramp

primary
#AFBD29
secondary
#7F77CB
accent
#40E750
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141408
muted
#82827B

Preview Lab

Preview with #AFBD29

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

Preview Lab → · Contrast checker → · Palette generator →

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