#BDAF5B#BDAF5B

#BDAF5B is a light, moderate yellow. Relative luminance 0.422; OKLCH L 74.8% C 0.107 H 100.0°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BDAF5B
RGBrgb(189, 175, 91)
HSLhsl(51, 43%, 55%)
HSVhsv(51, 52%, 74%)
CMYKcmyk(0%, 7.4%, 51.9%, 25.9%)
CIE-LABlab(71.03, -6.14, 44.44)
CIE-LCHlch(71.03, 44.86, 97.86°)
OKLaboklab(74.82% -0.0185 0.1051)
OKLCHoklch(74.82% 0.107 100)
XYZxyz(38.2058, 42.2355, 16.0353)
Luminance0.4223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF5B #5B69BD
analogous
#BD7E5B #BDAF5B #9ABD5B
triadic
#BDAF5B #5BBDAF #AF5BBD
tetradic
#BDAF5B #5BBD7E #5B69BD #BD5B9A
square
#BDAF5B #5BBD7E #5B69BD #BD5B9A
split-complementary
#BDAF5B #5B9ABD #7E5BBD
monochromatic
#70672D #9C8F3F #BDAF5B #CFC487 #E0DAB2

Accessibility & contrast

On white

2.22
#BDAF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BDAF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF5B
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF5B#FFFFFF#000000##000000
##BDAF5B1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDAB53
Deuteranopia (green-blind)
#C1B05F
Tritanopia (blue-blind)
#C9A59C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdaf5b;
/* rgb */ color: rgb(189, 175, 91);
/* oklch */ color: oklch(74.8% 0.107 100.0);
Tailwind
colors: {
  custom: {
    50: '#d3c68b',
    500: '#bdaf5b',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf5b;
$custom-light: #d3c68b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf5b",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 51.429,
    "s": 42.609,
    "l": 54.902
  },
  "oklch": {
    "l": 0.74818,
    "c": 0.10671,
    "h": 100
  },
  "luminance": 0.42234
}

Semantic roles & 50–950 ramp

primary
#BDAF5B
secondary
#A5ABCF
accent
#67D255
background
#FDFCF8
surface
#FAF8F0
border
#D3D1CB
text
#14130C
muted
#83827D

Preview Lab

Preview with #BDAF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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