#AFBD51#AFBD51

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

Color values

HEX#AFBD51
RGBrgb(175, 189, 81)
HSLhsl(68, 45%, 53%)
HSVhsv(68, 57%, 74%)
CMYKcmyk(7.4%, 0%, 57.1%, 25.9%)
CIE-LABlab(73.61, -19.99, 51.87)
CIE-LCHlch(73.61, 55.59, 111.08°)
OKLaboklab(76.56% -0.0582 0.1204)
OKLCHoklch(76.56% 0.134 115.8)
XYZxyz(37.3627, 46.1037, 14.7136)
Luminance0.4610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD51 #5F51BD
analogous
#BD9551 #AFBD51 #79BD51
triadic
#AFBD51 #51AFBD #BD51AF
tetradic
#AFBD51 #51BD95 #5F51BD #BD5179
square
#AFBD51 #51BD95 #5F51BD #BD5179
split-complementary
#AFBD51 #5179BD #9551BD
monochromatic
#626B29 #8B9739 #AFBD51 #C3CE7D #D8DFAA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBD51#FFFFFF#000000##000000
##AFBD511.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)
#C9B446
Deuteranopia (green-blind)
#C8B658
Tritanopia (blue-blind)
#B9B3A6
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbd51;
/* rgb */ color: rgb(175, 189, 81);
/* oklch */ color: oklch(76.6% 0.134 115.8);
Tailwind
colors: {
  custom: {
    50: '#c9d086',
    500: '#afbd51',
    950: '#000000',
  },
}
SCSS
$custom: #afbd51;
$custom-light: #c9d086;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd51",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 81
  },
  "hsl": {
    "h": 67.778,
    "s": 45,
    "l": 52.941
  },
  "oklch": {
    "l": 0.76561,
    "c": 0.1337,
    "h": 115.8
  },
  "luminance": 0.46103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFBD51

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

Preview Lab → · Contrast checker → · Palette generator →

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