#BDA52F#BDA52F

#BDA52F is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.3% C 0.134 H 97.2°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#BDA52F
RGBrgb(189, 165, 47)
HSLhsl(50, 60%, 46%)
HSVhsv(50, 75%, 74%)
CMYKcmyk(0%, 12.7%, 75.1%, 25.9%)
CIE-LABlab(67.97, -3.72, 60.43)
CIE-LCHlch(67.97, 60.54, 93.52°)
OKLaboklab(72.27% -0.0167 0.1328)
OKLCHoklch(72.27% 0.134 97.2)
XYZxyz(34.9563, 37.9362, 8.1699)
Luminance0.3793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA52F #2F47BD
analogous
#BD5E2F #BDA52F #8EBD2F
triadic
#BDA52F #2FBDA5 #A52FBD
tetradic
#BDA52F #2FBD5E #2F47BD #BD2F8E
square
#BDA52F #2FBD5E #2F47BD #BD2F8E
split-complementary
#BDA52F #2F8EBD #5E2FBD
monochromatic
#5B4F17 #8C7A23 #BDA52F #D5BF55 #E1D186

Accessibility & contrast

On white

2.45
#BDA52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#BDA52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA52F
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA52F#FFFFFF#000000##000000
##BDA52F1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A119
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#CC988E
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #bda52f;
/* rgb */ color: rgb(189, 165, 47);
/* oklch */ color: oklch(72.3% 0.134 97.2);
Tailwind
colors: {
  custom: {
    50: '#d5bf70',
    500: '#bda52f',
    950: '#000000',
  },
}
SCSS
$custom: #bda52f;
$custom-light: #d5bf70;
$custom-dark: #000000;
JSON
{
  "hex": "#bda52f",
  "rgb": {
    "r": 189,
    "g": 165,
    "b": 47
  },
  "hsl": {
    "h": 49.859,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.72268,
    "c": 0.13381,
    "h": 97.2
  },
  "luminance": 0.37934
}

Semantic roles & 50–950 ramp

primary
#BDA52F
secondary
#7E8BCA
accent
#5FE344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA52F

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

Preview Lab → · Contrast checker → · Palette generator →

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