#BDB72F#BDB72F

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

Color values

HEX#BDB72F
RGBrgb(189, 183, 47)
HSLhsl(57, 60%, 46%)
HSVhsv(57, 75%, 74%)
CMYKcmyk(0%, 3.2%, 75.1%, 25.9%)
CIE-LABlab(72.82, -13.11, 64.97)
CIE-LCHlch(72.82, 66.28, 101.41°)
OKLaboklab(76.12% -0.0431 0.1424)
OKLCHoklch(76.12% 0.149 106.8)
XYZxyz(38.4344, 44.8924, 9.3293)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB72F #2F35BD
analogous
#BD702F #BDB72F #7CBD2F
triadic
#BDB72F #2FBDB7 #B72FBD
tetradic
#BDB72F #2FBD70 #2F35BD #BD2F7C
square
#BDB72F #2FBD70 #2F35BD #BD2F7C
split-complementary
#BDB72F #2F7CBD #702FBD
monochromatic
#5B5817 #8C8823 #BDB72F #D5CF55 #E1DD86

Accessibility & contrast

On white

2.10
#BDB72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#BDB72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB72F
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB72F#FFFFFF#000000##000000
##BDB72F1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B010
Deuteranopia (green-blind)
#CAB53A
Tritanopia (blue-blind)
#CBAB9D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb72f;
/* rgb */ color: rgb(189, 183, 47);
/* oklch */ color: oklch(76.1% 0.149 106.8);
Tailwind
colors: {
  custom: {
    50: '#d5cc72',
    500: '#bdb72f',
    950: '#000000',
  },
}
SCSS
$custom: #bdb72f;
$custom-light: #d5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb72f",
  "rgb": {
    "r": 189,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 57.465,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7612,
    "c": 0.14882,
    "h": 106.8
  },
  "luminance": 0.44891
}

Semantic roles & 50–950 ramp

primary
#BDB72F
secondary
#7E81CA
accent
#4BE344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB72F

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

Preview Lab → · Contrast checker → · Palette generator →

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