#BDAF4B#BDAF4B

#BDAF4B is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.6% C 0.122 H 101.4°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#BDAF4B
RGBrgb(189, 175, 75)
HSLhsl(53, 46%, 52%)
HSVhsv(53, 60%, 74%)
CMYKcmyk(0%, 7.4%, 60.3%, 25.9%)
CIE-LABlab(70.86, -7.40, 51.84)
CIE-LCHlch(70.86, 52.37, 98.13°)
OKLaboklab(74.63% -0.024 0.1193)
OKLCHoklch(74.63% 0.122 101.4)
XYZxyz(37.5876, 41.9882, 12.7799)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF4B #4B59BD
analogous
#BD764B #BDAF4B #92BD4B
triadic
#BDAF4B #4BBDAF #AF4BBD
tetradic
#BDAF4B #4BBD76 #4B59BD #BD4B92
square
#BDAF4B #4BBD76 #4B59BD #BD4B92
split-complementary
#BDAF4B #4B92BD #764BBD
monochromatic
#686026 #948936 #BDAF4B #CDC378 #DED7A5

Accessibility & contrast

On white

2.23
#BDAF4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#BDAF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF4B
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF4B#FFFFFF#000000##000000
##BDAF4B1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA40
Deuteranopia (green-blind)
#C2B050
Tritanopia (blue-blind)
#CAA499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf4b;
/* rgb */ color: rgb(189, 175, 75);
/* oklch */ color: oklch(74.6% 0.122 101.4);
Tailwind
colors: {
  custom: {
    50: '#d4c681',
    500: '#bdaf4b',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf4b;
$custom-light: #d4c681;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf4b",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 52.632,
    "s": 46.341,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74628,
    "c": 0.12165,
    "h": 101.4
  },
  "luminance": 0.41987
}

Semantic roles & 50–950 ramp

primary
#BDAF4B
secondary
#999FCB
accent
#62D652
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #BDAF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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