#AFBB52#AFBB52

#AFBB52 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.1% C 0.130 H 115.0°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#AFBB52
RGBrgb(175, 187, 82)
HSLhsl(67, 44%, 53%)
HSVhsv(67, 56%, 73%)
CMYKcmyk(6.4%, 0%, 56.1%, 26.7%)
CIE-LABlab(73.07, -18.91, 50.80)
CIE-LCHlch(73.07, 54.20, 110.42°)
OKLaboklab(76.13% -0.0551 0.1182)
OKLCHoklch(76.13% 0.13 115)
XYZxyz(36.9732, 45.2643, 14.7702)
Luminance0.4526 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB52 #5E52BB
analogous
#BB9252 #AFBB52 #7BBB52
triadic
#AFBB52 #52AFBB #BB52AF
tetradic
#AFBB52 #52BB92 #5E52BB #BB527B
square
#AFBB52 #52BB92 #5E52BB #BB527B
split-complementary
#AFBB52 #527BBB #9252BB
monochromatic
#626929 #8B953B #AFBB52 #C3CC7E #D8DEAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB52#FFFFFF#000000##000000
##AFBB521.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)
#C7B347
Deuteranopia (green-blind)
#C6B458
Tritanopia (blue-blind)
#B9B1A4
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb52;
/* rgb */ color: rgb(175, 187, 82);
/* oklch */ color: oklch(76.1% 0.130 115.0);
Tailwind
colors: {
  custom: {
    50: '#c9cf86',
    500: '#afbb52',
    950: '#000000',
  },
}
SCSS
$custom: #afbb52;
$custom-light: #c9cf86;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb52",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 82
  },
  "hsl": {
    "h": 66.857,
    "s": 43.568,
    "l": 52.745
  },
  "oklch": {
    "l": 0.76126,
    "c": 0.13037,
    "h": 115
  },
  "luminance": 0.45264
}

Semantic roles & 50–950 ramp

primary
#AFBB52
secondary
#A39ECB
accent
#54D363
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFBB52

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

Preview Lab → · Contrast checker → · Palette generator →

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