#BDB252#BDB252

#BDB252 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.3% C 0.118 H 102.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#BDB252
RGBrgb(189, 178, 82)
HSLhsl(54, 45%, 53%)
HSVhsv(54, 57%, 74%)
CMYKcmyk(0%, 5.8%, 56.6%, 25.9%)
CIE-LABlab(71.74, -8.45, 49.59)
CIE-LCHlch(71.74, 50.31, 99.67°)
OKLaboklab(75.35% -0.0262 0.1153)
OKLCHoklch(75.35% 0.118 102.8)
XYZxyz(38.4309, 43.2702, 14.3086)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB252 #525DBD
analogous
#BD7C52 #BDB252 #92BD52
triadic
#BDB252 #52BDB2 #B252BD
tetradic
#BDB252 #52BD7C #525DBD #BD5292
square
#BDB252 #52BD7C #525DBD #BD5292
split-complementary
#BDB252 #5292BD #7C52BD
monochromatic
#6C6529 #988E3A #BDB252 #CEC67E #DFD9AB

Accessibility & contrast

On white

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

On black

9.65
#BDB252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB252
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB252#FFFFFF#000000##000000
##BDB2521.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD48
Deuteranopia (green-blind)
#C4B257
Tritanopia (blue-blind)
#CAA79D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #bdb252;
/* rgb */ color: rgb(189, 178, 82);
/* oklch */ color: oklch(75.3% 0.118 102.8);
Tailwind
colors: {
  custom: {
    50: '#d3c886',
    500: '#bdb252',
    950: '#000000',
  },
}
SCSS
$custom: #bdb252;
$custom-light: #d3c886;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb252",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 82
  },
  "hsl": {
    "h": 53.832,
    "s": 44.77,
    "l": 53.137
  },
  "oklch": {
    "l": 0.75345,
    "c": 0.11825,
    "h": 102.8
  },
  "luminance": 0.43269
}

Semantic roles & 50–950 ramp

primary
#BDB252
secondary
#9EA3CC
accent
#61D453
background
#FDFCF8
surface
#FAF8EF
border
#D3D1CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #BDB252

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

Preview Lab → · Contrast checker → · Palette generator →

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