#BDB72A#BDB72A

#BDB72A is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.1% C 0.151 H 106.9°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#BDB72A
RGBrgb(189, 183, 42)
HSLhsl(58, 64%, 45%)
HSVhsv(58, 78%, 74%)
CMYKcmyk(0%, 3.2%, 77.8%, 25.9%)
CIE-LABlab(72.80, -13.31, 66.53)
CIE-LCHlch(72.80, 67.85, 101.31°)
OKLaboklab(76.09% -0.0441 0.1448)
OKLCHoklch(76.09% 0.151 106.9)
XYZxyz(38.3393, 44.8543, 8.8283)
Luminance0.4485 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB72A #2A30BD
analogous
#BD6D2A #BDB72A #79BD2A
triadic
#BDB72A #2ABDB7 #B72ABD
tetradic
#BDB72A #2ABD6D #2A30BD #BD2A79
square
#BDB72A #2ABD6D #2A30BD #BD2A79
split-complementary
#BDB72A #2A79BD #6D2ABD
monochromatic
#595614 #8B871F #BDB72A #D7D24D #E3DE7F

Accessibility & contrast

On white

2.11
#BDB72A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#BDB72A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB72A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB72A#FFFFFF#000000##000000
##BDB72A1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#CAB536
Tritanopia (blue-blind)
#CBAA9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb72a;
/* rgb */ color: rgb(189, 183, 42);
/* oklch */ color: oklch(76.1% 0.151 106.9);
Tailwind
colors: {
  custom: {
    50: '#d5cc70',
    500: '#bdb72a',
    950: '#000000',
  },
}
SCSS
$custom: #bdb72a;
$custom-light: #d5cc70;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb72a",
  "rgb": {
    "r": 189,
    "g": 183,
    "b": 42
  },
  "hsl": {
    "h": 57.551,
    "s": 63.636,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76092,
    "c": 0.1514,
    "h": 106.9
  },
  "luminance": 0.44853
}

Semantic roles & 50–950 ramp

primary
#BDB72A
secondary
#787BCB
accent
#48E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB72A

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

Preview Lab → · Contrast checker → · Palette generator →

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