#BDB248#BDB248

#BDB248 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.2% C 0.127 H 103.4°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#BDB248
RGBrgb(189, 178, 72)
HSLhsl(54, 47%, 51%)
HSVhsv(54, 62%, 74%)
CMYKcmyk(0%, 5.8%, 61.9%, 25.9%)
CIE-LABlab(71.64, -9.18, 54.04)
CIE-LCHlch(71.64, 54.81, 99.64°)
OKLaboklab(75.24% -0.0294 0.1235)
OKLCHoklch(75.24% 0.127 103.4)
XYZxyz(38.0778, 43.1289, 12.4486)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB248 #4853BD
analogous
#BD7748 #BDB248 #8DBD48
triadic
#BDB248 #48BDB2 #B248BD
tetradic
#BDB248 #48BD77 #4853BD #BD488D
square
#BDB248 #48BD77 #4853BD #BD488D
split-complementary
#BDB248 #488DBD #7748BD
monochromatic
#666025 #938A35 #BDB248 #CDC575 #DDD8A2

Accessibility & contrast

On white

2.18
#BDB248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#BDB248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB248
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB248#FFFFFF#000000##000000
##BDB2481.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3C
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#CAA79B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb248;
/* rgb */ color: rgb(189, 178, 72);
/* oklch */ color: oklch(75.2% 0.127 103.4);
Tailwind
colors: {
  custom: {
    50: '#d4c87f',
    500: '#bdb248',
    950: '#000000',
  },
}
SCSS
$custom: #bdb248;
$custom-light: #d4c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb248",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 54.359,
    "s": 46.988,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75238,
    "c": 0.12697,
    "h": 103.4
  },
  "luminance": 0.43127
}

Semantic roles & 50–950 ramp

primary
#BDB248
secondary
#979BCA
accent
#5ED751
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB248

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

Preview Lab → · Contrast checker → · Palette generator →

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