#BDB827#BDB827

#BDB827 is a light, vivid yellow. Relative luminance 0.452; OKLCH L 76.3% C 0.154 H 107.4°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#BDB827
RGBrgb(189, 184, 39)
HSLhsl(58, 66%, 45%)
HSVhsv(58, 79%, 74%)
CMYKcmyk(0%, 2.6%, 79.4%, 25.9%)
CIE-LABlab(73.05, -13.92, 67.65)
CIE-LCHlch(73.05, 69.07, 101.63°)
OKLaboklab(76.3% -0.0461 0.1467)
OKLCHoklch(76.3% 0.154 107.4)
XYZxyz(38.4946, 45.2476, 8.6250)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB827 #272CBD
analogous
#BD6D27 #BDB827 #77BD27
triadic
#BDB827 #27BDB8 #B827BD
tetradic
#BDB827 #27BD6D #272CBD #BD2777
square
#BDB827 #27BD6D #272CBD #BD2777
split-complementary
#BDB827 #2777BD #6D27BD
monochromatic
#585512 #8A871D #BDB827 #D9D448 #E4E07B

Accessibility & contrast

On white

2.09
#BDB827 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#BDB827 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB827
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB827#FFFFFF#000000##000000
##BDB8271.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B100
Deuteranopia (green-blind)
#CBB634
Tritanopia (blue-blind)
#CBAB9E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #bdb827;
/* rgb */ color: rgb(189, 184, 39);
/* oklch */ color: oklch(76.3% 0.154 107.4);
Tailwind
colors: {
  custom: {
    50: '#d5cd6f',
    500: '#bdb827',
    950: '#000000',
  },
}
SCSS
$custom: #bdb827;
$custom-light: #d5cd6f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb827",
  "rgb": {
    "r": 189,
    "g": 184,
    "b": 39
  },
  "hsl": {
    "h": 58,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.76295,
    "c": 0.15374,
    "h": 107.4
  },
  "luminance": 0.45246
}

Semantic roles & 50–950 ramp

primary
#BDB827
secondary
#7477CC
accent
#45E93F
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB827

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

Preview Lab → · Contrast checker → · Palette generator →

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