#AFBD52#AFBD52

#AFBD52 is a light, vivid yellow. Relative luminance 0.461; OKLCH L 76.6% C 0.133 H 115.8°. Best body text is #000000 at 10.22:1 contrast (WCAG AA passes).

Color values

HEX#AFBD52
RGBrgb(175, 189, 82)
HSLhsl(68, 45%, 53%)
HSVhsv(68, 57%, 74%)
CMYKcmyk(7.4%, 0%, 56.6%, 25.9%)
CIE-LABlab(73.62, -19.91, 51.43)
CIE-LCHlch(73.62, 55.15, 111.16°)
OKLaboklab(76.57% -0.0579 0.1195)
OKLCHoklch(76.57% 0.133 115.8)
XYZxyz(37.4005, 46.1188, 14.9126)
Luminance0.4612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD52 #6052BD
analogous
#BD9552 #AFBD52 #7ABD52
triadic
#AFBD52 #52AFBD #BD52AF
tetradic
#AFBD52 #52BD95 #6052BD #BD527A
square
#AFBD52 #52BD95 #6052BD #BD527A
split-complementary
#AFBD52 #527ABD #9552BD
monochromatic
#636C29 #8C983A #AFBD52 #C3CE7E #D8DFAB

Accessibility & contrast

On white

2.05
#AFBD52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.22
#AFBD52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD52
10.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD52#FFFFFF#000000##000000
##AFBD521.002.0510.2210.22
#FFFFFF2.051.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#B9B3A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd52;
/* rgb */ color: rgb(175, 189, 82);
/* oklch */ color: oklch(76.6% 0.133 115.8);
Tailwind
colors: {
  custom: {
    50: '#c9d086',
    500: '#afbd52',
    950: '#000000',
  },
}
SCSS
$custom: #afbd52;
$custom-light: #c9d086;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd52",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 82
  },
  "hsl": {
    "h": 67.85,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.76572,
    "c": 0.13281,
    "h": 115.8
  },
  "luminance": 0.46118
}

Semantic roles & 50–950 ramp

primary
#AFBD52
secondary
#A49ECC
accent
#53D464
background
#FCFCF8
surface
#F9F9F0
border
#D2D2CB
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBD52

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

Preview Lab → · Contrast checker → · Palette generator →

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