#AFBC29#AFBC29

#AFBC29 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.0% C 0.160 H 114.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#AFBC29
RGBrgb(175, 188, 41)
HSLhsl(65, 64%, 45%)
HSVhsv(65, 78%, 74%)
CMYKcmyk(6.9%, 0%, 78.2%, 26.3%)
CIE-LABlab(73.05, -21.86, 66.64)
CIE-LCHlch(73.05, 70.13, 108.16°)
OKLaboklab(76.02% -0.0672 0.1454)
OKLCHoklch(76.02% 0.16 114.8)
XYZxyz(36.0637, 45.2412, 8.9300)
Luminance0.4524 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC29 #3629BC
analogous
#BC7F29 #AFBC29 #66BC29
triadic
#AFBC29 #29AFBC #BC29AF
tetradic
#AFBC29 #29BC7F #3629BC #BC2966
square
#AFBC29 #29BC7F #3629BC #BC2966
split-complementary
#AFBC29 #2966BC #7F29BC
monochromatic
#515813 #808A1E #AFBC29 #CBD84B #DAE37D

Accessibility & contrast

On white

2.09
#AFBC29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#AFBC29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC29
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC29#FFFFFF#000000##000000
##AFBC291.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB200
Deuteranopia (green-blind)
#C9B537
Tritanopia (blue-blind)
#BBB1A1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbc29;
/* rgb */ color: rgb(175, 188, 41);
/* oklch */ color: oklch(76.0% 0.160 114.8);
Tailwind
colors: {
  custom: {
    50: '#cbd070',
    500: '#afbc29',
    950: '#000000',
  },
}
SCSS
$custom: #afbc29;
$custom-light: #cbd070;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc29",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 41
  },
  "hsl": {
    "h": 65.306,
    "s": 64.192,
    "l": 44.902
  },
  "oklch": {
    "l": 0.7602,
    "c": 0.16023,
    "h": 114.8
  },
  "luminance": 0.4524
}

Semantic roles & 50–950 ramp

primary
#AFBC29
secondary
#7D76CB
accent
#41E74F
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141308
muted
#82827B

Preview Lab

Preview with #AFBC29

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

Preview Lab → · Contrast checker → · Palette generator →

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