#BDAB3B#BDAB3B

#BDAB3B is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.6% C 0.131 H 100.0°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#BDAB3B
RGBrgb(189, 171, 59)
HSLhsl(52, 52%, 49%)
HSVhsv(52, 69%, 74%)
CMYKcmyk(0%, 9.5%, 68.8%, 25.9%)
CIE-LABlab(69.66, -6.31, 57.47)
CIE-LCHlch(69.66, 57.81, 96.26°)
OKLaboklab(73.63% -0.0227 0.1287)
OKLCHoklch(73.63% 0.131 100)
XYZxyz(36.3402, 40.2621, 9.9940)
Luminance0.4026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB3B #3B4DBD
analogous
#BD6A3B #BDAB3B #8EBD3B
triadic
#BDAB3B #3BBDAB #AB3BBD
tetradic
#BDAB3B #3BBD6A #3B4DBD #BD3B8E
square
#BDAB3B #3BBD6A #3B4DBD #BD3B8E
split-complementary
#BDAB3B #3B8EBD #6A3BBD
monochromatic
#60571E #8E812C #BDAB3B #CFC166 #DED495

Accessibility & contrast

On white

2.32
#BDAB3B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.05
#BDAB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB3B
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB3B#FFFFFF#000000##000000
##BDAB3B1.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA62B
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#CB9F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdab3b;
/* rgb */ color: rgb(189, 171, 59);
/* oklch */ color: oklch(73.6% 0.131 100.0);
Tailwind
colors: {
  custom: {
    50: '#d4c377',
    500: '#bdab3b',
    950: '#000000',
  },
}
SCSS
$custom: #bdab3b;
$custom-light: #d4c377;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab3b",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 59
  },
  "hsl": {
    "h": 51.692,
    "s": 52.419,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73627,
    "c": 0.13071,
    "h": 100
  },
  "luminance": 0.4026
}

Semantic roles & 50–950 ramp

primary
#BDAB3B
secondary
#8B93C9
accent
#60DC4C
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDAB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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