#BDAB3A#BDAB3A

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

Color values

HEX#BDAB3A
RGBrgb(189, 171, 58)
HSLhsl(52, 53%, 48%)
HSVhsv(52, 69%, 74%)
CMYKcmyk(0%, 9.5%, 69.3%, 25.9%)
CIE-LABlab(69.65, -6.36, 57.86)
CIE-LCHlch(69.65, 58.21, 96.27°)
OKLaboklab(73.62% -0.023 0.1294)
OKLCHoklch(73.62% 0.131 100.1)
XYZxyz(36.3145, 40.2518, 9.8587)
Luminance0.4025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB3A #3A4CBD
analogous
#BD693A #BDAB3A #8DBD3A
triadic
#BDAB3A #3ABDAB #AB3ABD
tetradic
#BDAB3A #3ABD69 #3A4CBD #BD3A8D
square
#BDAB3A #3ABD69 #3A4CBD #BD3A8D
split-complementary
#BDAB3A #3A8DBD #693ABD
monochromatic
#5F561D #8E812C #BDAB3A #D0C165 #DED493

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDAB3A#FFFFFF#000000##000000
##BDAB3A1.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)
#BBA62A
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#CB9F94
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdab3a;
/* rgb */ color: rgb(189, 171, 58);
/* oklch */ color: oklch(73.6% 0.131 100.1);
Tailwind
colors: {
  custom: {
    50: '#d4c377',
    500: '#bdab3a',
    950: '#000000',
  },
}
SCSS
$custom: #bdab3a;
$custom-light: #d4c377;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab3a",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 58
  },
  "hsl": {
    "h": 51.756,
    "s": 53.036,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73619,
    "c": 0.13141,
    "h": 100.1
  },
  "luminance": 0.4025
}

Semantic roles & 50–950 ramp

primary
#BDAB3A
secondary
#8A92C9
accent
#5FDC4B
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BDAB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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