#BDAB4F#BDAB4F

#BDAB4F is a light, moderate yellow. Relative luminance 0.405; OKLCH L 73.8% C 0.115 H 98.4°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#BDAB4F
RGBrgb(189, 171, 79)
HSLhsl(50, 45%, 53%)
HSVhsv(50, 58%, 74%)
CMYKcmyk(0%, 9.5%, 58.2%, 25.9%)
CIE-LABlab(69.83, -5.01, 48.83)
CIE-LCHlch(69.83, 49.09, 95.85°)
OKLaboklab(73.82% -0.0167 0.1133)
OKLCHoklch(73.82% 0.115 98.4)
XYZxyz(36.9619, 40.5107, 13.2680)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB4F #4F61BD
analogous
#BD744F #BDAB4F #98BD4F
triadic
#BDAB4F #4FBDAB #AB4FBD
tetradic
#BDAB4F #4FBD74 #4F61BD #BD4F98
square
#BDAB4F #4FBD74 #4F61BD #BD4F98
split-complementary
#BDAB4F #4F98BD #744FBD
monochromatic
#6A5F28 #968738 #BDAB4F #CEC07C #DED5A8

Accessibility & contrast

On white

2.31
#BDAB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#BDAB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB4F
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB4F#FFFFFF#000000##000000
##BDAB4F1.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA746
Deuteranopia (green-blind)
#BFAD53
Tritanopia (blue-blind)
#CAA097
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #bdab4f;
/* rgb */ color: rgb(189, 171, 79);
/* oklch */ color: oklch(73.8% 0.115 98.4);
Tailwind
colors: {
  custom: {
    50: '#d3c383',
    500: '#bdab4f',
    950: '#000000',
  },
}
SCSS
$custom: #bdab4f;
$custom-light: #d3c383;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab4f",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 50.182,
    "s": 45.455,
    "l": 52.549
  },
  "oklch": {
    "l": 0.73823,
    "c": 0.11454,
    "h": 98.4
  },
  "luminance": 0.40509
}

Semantic roles & 50–950 ramp

primary
#BDAB4F
secondary
#9CA4CC
accent
#68D553
background
#FDFBF8
surface
#FAF7EF
border
#D3D0CA
text
#14120B
muted
#83817C

Preview Lab

Preview with #BDAB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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