#BDB927#BDB927

#BDB927 is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.155 H 107.9°. Best body text is #000000 at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#BDB927
RGBrgb(189, 185, 39)
HSLhsl(58, 66%, 45%)
HSVhsv(58, 79%, 74%)
CMYKcmyk(0%, 2.1%, 79.4%, 25.9%)
CIE-LABlab(73.33, -14.43, 67.89)
CIE-LCHlch(73.33, 69.41, 102.00°)
OKLaboklab(76.51% -0.0475 0.1472)
OKLCHoklch(76.51% 0.155 107.9)
XYZxyz(38.7030, 45.6646, 8.6945)
Luminance0.4566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB927 #272BBD
analogous
#BD6E27 #BDB927 #76BD27
triadic
#BDB927 #27BDB9 #B927BD
tetradic
#BDB927 #27BD6E #272BBD #BD2776
square
#BDB927 #27BD6E #272BBD #BD2776
split-complementary
#BDB927 #2776BD #6E27BD
monochromatic
#585612 #8A871D #BDB927 #D9D548 #E4E17B

Accessibility & contrast

On white

2.07
#BDB927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.13
#BDB927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB927
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB927#FFFFFF#000000##000000
##BDB9271.002.0710.1310.13
#FFFFFF2.071.0021.0021.00
#00000010.1321.001.001.00
##00000010.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B100
Deuteranopia (green-blind)
#CBB634
Tritanopia (blue-blind)
#CBAC9E
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #bdb927;
/* rgb */ color: rgb(189, 185, 39);
/* oklch */ color: oklch(76.5% 0.155 107.9);
Tailwind
colors: {
  custom: {
    50: '#d5cd6f',
    500: '#bdb927',
    950: '#000000',
  },
}
SCSS
$custom: #bdb927;
$custom-light: #d5cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb927",
  "rgb": {
    "r": 189,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 58.4,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.76512,
    "c": 0.15466,
    "h": 107.9
  },
  "luminance": 0.45663
}

Semantic roles & 50–950 ramp

primary
#BDB927
secondary
#7476CC
accent
#44E93F
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB927

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

Preview Lab → · Contrast checker → · Palette generator →

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