#BDAF48#BDAF48

#BDAF48 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.124 H 101.6°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#BDAF48
RGBrgb(189, 175, 72)
HSLhsl(53, 47%, 51%)
HSVhsv(53, 62%, 74%)
CMYKcmyk(0%, 7.4%, 61.9%, 25.9%)
CIE-LABlab(70.84, -7.61, 53.16)
CIE-LCHlch(70.84, 53.70, 98.15°)
OKLaboklab(74.6% -0.025 0.1217)
OKLCHoklch(74.6% 0.124 101.6)
XYZxyz(37.4874, 41.9481, 12.2518)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF48 #4856BD
analogous
#BD7448 #BDAF48 #90BD48
triadic
#BDAF48 #48BDAF #AF48BD
tetradic
#BDAF48 #48BD74 #4856BD #BD4890
square
#BDAF48 #48BD74 #4856BD #BD4890
split-complementary
#BDAF48 #4890BD #7448BD
monochromatic
#665E25 #938835 #BDAF48 #CDC375 #DDD6A2

Accessibility & contrast

On white

2.24
#BDAF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#BDAF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF48
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF48#FFFFFF#000000##000000
##BDAF481.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#C2B04D
Tritanopia (blue-blind)
#CBA399
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf48;
/* rgb */ color: rgb(189, 175, 72);
/* oklch */ color: oklch(74.6% 0.124 101.6);
Tailwind
colors: {
  custom: {
    50: '#d4c67f',
    500: '#bdaf48',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf48;
$custom-light: #d4c67f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf48",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 72
  },
  "hsl": {
    "h": 52.821,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.74597,
    "c": 0.12418,
    "h": 101.6
  },
  "luminance": 0.41947
}

Semantic roles & 50–950 ramp

primary
#BDAF48
secondary
#979DCA
accent
#61D751
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDAF48

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

Preview Lab → · Contrast checker → · Palette generator →

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