#BDB845#BDB845

#BDB845 is a light, vivid yellow. Relative luminance 0.455; OKLCH L 76.5% C 0.135 H 106.8°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#BDB845
RGBrgb(189, 184, 69)
HSLhsl(58, 48%, 51%)
HSVhsv(58, 63%, 74%)
CMYKcmyk(0%, 2.6%, 63.5%, 25.9%)
CIE-LABlab(73.24, -12.47, 57.04)
CIE-LCHlch(73.24, 58.39, 102.33°)
OKLaboklab(76.5% -0.0391 0.1294)
OKLCHoklch(76.5% 0.135 106.8)
XYZxyz(39.2023, 45.5307, 12.3524)
Luminance0.4553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB845 #454ABD
analogous
#BD7C45 #BDB845 #86BD45
triadic
#BDB845 #45BDB8 #B845BD
tetradic
#BDB845 #45BD7C #454ABD #BD4586
square
#BDB845 #45BD7C #454ABD #BD4586
split-complementary
#BDB845 #4586BD #7C45BD
monochromatic
#646124 #918D34 #BDB845 #CDC972 #DDDA9F

Accessibility & contrast

On white

2.08
#BDB845 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#BDB845 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB845
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB845#FFFFFF#000000##000000
##BDB8451.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B137
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#CAACA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb845;
/* rgb */ color: rgb(189, 184, 69);
/* oklch */ color: oklch(76.5% 0.135 106.8);
Tailwind
colors: {
  custom: {
    50: '#d4cd7e',
    500: '#bdb845',
    950: '#000000',
  },
}
SCSS
$custom: #bdb845;
$custom-light: #d4cd7e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb845",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 69
  },
  "hsl": {
    "h": 57.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.76501,
    "c": 0.13522,
    "h": 106.8
  },
  "luminance": 0.45529
}

Semantic roles & 50–950 ramp

primary
#BDB845
secondary
#9496CA
accent
#56D751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB845

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

Preview Lab → · Contrast checker → · Palette generator →

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