#AFBD48#AFBD48

#AFBD48 is a light, vivid yellow. Relative luminance 0.460; OKLCH L 76.5% C 0.141 H 115.6°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#AFBD48
RGBrgb(175, 189, 72)
HSLhsl(67, 47%, 51%)
HSVhsv(67, 62%, 74%)
CMYKcmyk(7.4%, 0%, 61.9%, 25.9%)
CIE-LABlab(73.53, -20.67, 55.75)
CIE-LCHlch(73.53, 59.46, 110.34°)
OKLaboklab(76.47% -0.0611 0.1275)
OKLCHoklch(76.47% 0.141 115.6)
XYZxyz(37.0473, 45.9776, 13.0526)
Luminance0.4598 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD48 #5648BD
analogous
#BD9048 #AFBD48 #74BD48
triadic
#AFBD48 #48AFBD #BD48AF
tetradic
#AFBD48 #48BD90 #5648BD #BD4874
square
#AFBD48 #48BD90 #5648BD #BD4874
split-complementary
#AFBD48 #4874BD #9048BD
monochromatic
#5E6625 #889335 #AFBD48 #C3CD75 #D6DDA2

Accessibility & contrast

On white

2.06
#AFBD48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#AFBD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD48
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD48#FFFFFF#000000##000000
##AFBD481.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#C8B650
Tritanopia (blue-blind)
#B9B3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd48;
/* rgb */ color: rgb(175, 189, 72);
/* oklch */ color: oklch(76.5% 0.141 115.6);
Tailwind
colors: {
  custom: {
    50: '#c9d080',
    500: '#afbd48',
    950: '#000000',
  },
}
SCSS
$custom: #afbd48;
$custom-light: #c9d080;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd48",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 72
  },
  "hsl": {
    "h": 67.179,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.76469,
    "c": 0.14134,
    "h": 115.6
  },
  "luminance": 0.45977
}

Semantic roles & 50–950 ramp

primary
#AFBD48
secondary
#9D97CA
accent
#51D761
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14140B
muted
#82827C

Preview Lab

Preview with #AFBD48

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

Preview Lab → · Contrast checker → · Palette generator →

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