#BDB52F#BDB52F

#BDB52F is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.7% C 0.147 H 105.9°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#BDB52F
RGBrgb(189, 181, 47)
HSLhsl(57, 60%, 46%)
HSVhsv(57, 75%, 74%)
CMYKcmyk(0%, 4.2%, 75.1%, 25.9%)
CIE-LABlab(72.28, -12.08, 64.46)
CIE-LCHlch(72.28, 65.59, 100.62°)
OKLaboklab(75.69% -0.0403 0.1414)
OKLCHoklch(75.69% 0.147 105.9)
XYZxyz(38.0248, 44.0732, 9.1928)
Luminance0.4407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB52F #2F37BD
analogous
#BD6E2F #BDB52F #7EBD2F
triadic
#BDB52F #2FBDB5 #B52FBD
tetradic
#BDB52F #2FBD6E #2F37BD #BD2F7E
square
#BDB52F #2FBD6E #2F37BD #BD2F7E
split-complementary
#BDB52F #2F7EBD #6E2FBD
monochromatic
#5B5717 #8C8623 #BDB52F #D5CD55 #E1DC86

Accessibility & contrast

On white

2.14
#BDB52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#BDB52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB52F
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB52F#FFFFFF#000000##000000
##BDB52F1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE11
Deuteranopia (green-blind)
#C8B439
Tritanopia (blue-blind)
#CBA99C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bdb52f;
/* rgb */ color: rgb(189, 181, 47);
/* oklch */ color: oklch(75.7% 0.147 105.9);
Tailwind
colors: {
  custom: {
    50: '#d5ca72',
    500: '#bdb52f',
    950: '#000000',
  },
}
SCSS
$custom: #bdb52f;
$custom-light: #d5ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb52f",
  "rgb": {
    "r": 189,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 56.62,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.75687,
    "c": 0.14697,
    "h": 105.9
  },
  "luminance": 0.44072
}

Semantic roles & 50–950 ramp

primary
#BDB52F
secondary
#7E82CA
accent
#4DE344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB52F

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

Preview Lab → · Contrast checker → · Palette generator →

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