#AFBB48#AFBB48

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

Color values

HEX#AFBB48
RGBrgb(175, 187, 72)
HSLhsl(66, 46%, 51%)
HSVhsv(66, 61%, 73%)
CMYKcmyk(6.4%, 0%, 61.5%, 26.7%)
CIE-LABlab(72.97, -19.68, 55.15)
CIE-LCHlch(72.97, 58.55, 109.64°)
OKLaboklab(76.02% -0.0583 0.1262)
OKLCHoklch(76.02% 0.139 114.8)
XYZxyz(36.6200, 45.1231, 12.9102)
Luminance0.4512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB48 #5448BB
analogous
#BB8D48 #AFBB48 #75BB48
triadic
#AFBB48 #48AFBB #BB48AF
tetradic
#AFBB48 #48BB8D #5448BB #BB4875
square
#AFBB48 #48BB8D #5448BB #BB4875
split-complementary
#AFBB48 #4875BB #8D48BB
monochromatic
#5D6425 #879036 #AFBB48 #C3CC75 #D6DCA1

Accessibility & contrast

On white

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

On black

10.02
#AFBB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB48
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB48#FFFFFF#000000##000000
##AFBB481.002.0910.0210.02
#FFFFFF2.091.0021.0021.00
#00000010.0221.001.001.00
##00000010.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B23A
Deuteranopia (green-blind)
#C7B44F
Tritanopia (blue-blind)
#BAB1A3
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb48;
/* rgb */ color: rgb(175, 187, 72);
/* oklch */ color: oklch(76.0% 0.139 114.8);
Tailwind
colors: {
  custom: {
    50: '#c9cf80',
    500: '#afbb48',
    950: '#000000',
  },
}
SCSS
$custom: #afbb48;
$custom-light: #c9cf80;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb48",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 72
  },
  "hsl": {
    "h": 66.261,
    "s": 45.817,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76022,
    "c": 0.13899,
    "h": 114.8
  },
  "luminance": 0.45122
}

Semantic roles & 50–950 ramp

primary
#AFBB48
secondary
#9B96C9
accent
#52D560
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB48

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

Preview Lab → · Contrast checker → · Palette generator →

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