#AFBB49#AFBB49

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

Color values

HEX#AFBB49
RGBrgb(175, 187, 73)
HSLhsl(66, 46%, 51%)
HSVhsv(66, 61%, 73%)
CMYKcmyk(6.4%, 0%, 61%, 26.7%)
CIE-LABlab(72.98, -19.60, 54.72)
CIE-LCHlch(72.98, 58.13, 109.71°)
OKLaboklab(76.03% -0.058 0.1254)
OKLCHoklch(76.03% 0.138 114.8)
XYZxyz(36.6529, 45.1362, 13.0834)
Luminance0.4514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB49 #5549BB
analogous
#BB8E49 #AFBB49 #76BB49
triadic
#AFBB49 #49AFBB #BB49AF
tetradic
#AFBB49 #49BB8E #5549BB #BB4976
square
#AFBB49 #49BB8E #5549BB #BB4976
split-complementary
#AFBB49 #4976BB #8E49BB
monochromatic
#5E6425 #879136 #AFBB49 #C3CC76 #D6DCA2

Accessibility & contrast

On white

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

On black

10.03
#AFBB49 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB49
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB49#FFFFFF#000000##000000
##AFBB491.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afbb49;
/* rgb */ color: rgb(175, 187, 73);
/* oklch */ color: oklch(76.0% 0.138 114.8);
Tailwind
colors: {
  custom: {
    50: '#c9cf81',
    500: '#afbb49',
    950: '#000000',
  },
}
SCSS
$custom: #afbb49;
$custom-light: #c9cf81;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb49",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 73
  },
  "hsl": {
    "h": 66.316,
    "s": 45.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.76032,
    "c": 0.13818,
    "h": 114.8
  },
  "luminance": 0.45136
}

Semantic roles & 50–950 ramp

primary
#AFBB49
secondary
#9C97C9
accent
#53D560
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBB49

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

Preview Lab → · Contrast checker → · Palette generator →

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