#AFBD50#AFBD50

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

Color values

HEX#AFBD50
RGBrgb(175, 189, 80)
HSLhsl(68, 45%, 53%)
HSVhsv(68, 58%, 74%)
CMYKcmyk(7.4%, 0%, 57.7%, 25.9%)
CIE-LABlab(73.60, -20.07, 52.31)
CIE-LCHlch(73.60, 56.03, 110.99°)
OKLaboklab(76.55% -0.0586 0.1212)
OKLCHoklch(76.55% 0.135 115.8)
XYZxyz(37.3255, 46.0888, 14.5176)
Luminance0.4609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD50 #5E50BD
analogous
#BD9450 #AFBD50 #79BD50
triadic
#AFBD50 #50AFBD #BD50AF
tetradic
#AFBD50 #50BD94 #5E50BD #BD5079
square
#AFBD50 #50BD94 #5E50BD #BD5079
split-complementary
#AFBD50 #5079BD #9450BD
monochromatic
#626A28 #8B9739 #AFBD50 #C3CE7C #D8DFA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD50#FFFFFF#000000##000000
##AFBD501.002.0610.2210.22
#FFFFFF2.061.0021.0021.00
#00000010.2221.001.001.00
##00000010.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B444
Deuteranopia (green-blind)
#C8B657
Tritanopia (blue-blind)
#B9B3A5
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd50;
/* rgb */ color: rgb(175, 189, 80);
/* oklch */ color: oklch(76.5% 0.135 115.8);
Tailwind
colors: {
  custom: {
    50: '#c9d085',
    500: '#afbd50',
    950: '#000000',
  },
}
SCSS
$custom: #afbd50;
$custom-light: #c9d085;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd50",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 80
  },
  "hsl": {
    "h": 67.706,
    "s": 45.228,
    "l": 52.745
  },
  "oklch": {
    "l": 0.7655,
    "c": 0.13459,
    "h": 115.8
  },
  "luminance": 0.46088
}

Semantic roles & 50–950 ramp

primary
#AFBD50
secondary
#A39DCC
accent
#53D564
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#13140B
muted
#82827C

Preview Lab

Preview with #AFBD50

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

Preview Lab → · Contrast checker → · Palette generator →

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