#AFBB41#AFBB41

#AFBB41 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.144 H 114.7°. Best body text is #000000 at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#AFBB41
RGBrgb(175, 187, 65)
HSLhsl(66, 48%, 49%)
HSVhsv(66, 65%, 73%)
CMYKcmyk(6.4%, 0%, 65.2%, 26.7%)
CIE-LABlab(72.92, -20.15, 58.02)
CIE-LCHlch(72.92, 61.42, 109.15°)
OKLaboklab(75.96% -0.0603 0.1313)
OKLCHoklch(75.96% 0.144 114.7)
XYZxyz(36.4046, 45.0369, 11.7752)
Luminance0.4504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB41 #4D41BB
analogous
#BB8A41 #AFBB41 #72BB41
triadic
#AFBB41 #41AFBB #BB41AF
tetradic
#AFBB41 #41BB8A #4D41BB #BB4172
square
#AFBB41 #41BB8A #4D41BB #BB4172
split-complementary
#AFBB41 #4172BB #8A41BB
monochromatic
#5A6021 #858E31 #AFBB41 #C3CC6D #D6DC9A

Accessibility & contrast

On white

2.10
#AFBB41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.01
#AFBB41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB41
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB41#FFFFFF#000000##000000
##AFBB411.002.1010.0110.01
#FFFFFF2.101.0021.0021.00
#00000010.0121.001.001.00
##00000010.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B230
Deuteranopia (green-blind)
#C7B449
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb41;
/* rgb */ color: rgb(175, 187, 65);
/* oklch */ color: oklch(76.0% 0.144 114.7);
Tailwind
colors: {
  custom: {
    50: '#cacf7c',
    500: '#afbb41',
    950: '#000000',
  },
}
SCSS
$custom: #afbb41;
$custom-light: #cacf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb41",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 65
  },
  "hsl": {
    "h": 65.902,
    "s": 48.413,
    "l": 49.412
  },
  "oklch": {
    "l": 0.75959,
    "c": 0.14444,
    "h": 114.7
  },
  "luminance": 0.45036
}

Semantic roles & 50–950 ramp

primary
#AFBB41
secondary
#9590C8
accent
#50D85D
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB41

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

Preview Lab → · Contrast checker → · Palette generator →

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