#BDA52B#BDA52B

#BDA52B is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.136 H 97.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#BDA52B
RGBrgb(189, 165, 43)
HSLhsl(50, 63%, 45%)
HSVhsv(50, 77%, 74%)
CMYKcmyk(0%, 12.7%, 77.2%, 25.9%)
CIE-LABlab(67.95, -3.89, 61.81)
CIE-LCHlch(67.95, 61.93, 93.60°)
OKLaboklab(72.24% -0.0175 0.1349)
OKLCHoklch(72.24% 0.136 97.4)
XYZxyz(34.8793, 37.9054, 7.7643)
Luminance0.3790 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA52B #2B43BD
analogous
#BD5C2B #BDA52B #8CBD2B
triadic
#BDA52B #2BBDA5 #A52BBD
tetradic
#BDA52B #2BBD5C #2B43BD #BD2B8C
square
#BDA52B #2BBD5C #2B43BD #BD2B8C
split-complementary
#BDA52B #2B8CBD #5C2BBD
monochromatic
#594E14 #8B7920 #BDA52B #D7C04E #E2D280

Accessibility & contrast

On white

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

On black

8.58
#BDA52B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA52B
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA52B#FFFFFF#000000##000000
##BDA52B1.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bda52b;
/* rgb */ color: rgb(189, 165, 43);
/* oklch */ color: oklch(72.2% 0.136 97.4);
Tailwind
colors: {
  custom: {
    50: '#d5bf6e',
    500: '#bda52b',
    950: '#000000',
  },
}
SCSS
$custom: #bda52b;
$custom-light: #d5bf6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bda52b",
  "rgb": {
    "r": 189,
    "g": 165,
    "b": 43
  },
  "hsl": {
    "h": 50.137,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72243,
    "c": 0.13606,
    "h": 97.4
  },
  "luminance": 0.37904
}

Semantic roles & 50–950 ramp

primary
#BDA52B
secondary
#7986CB
accent
#5DE642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA52B

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

Preview Lab → · Contrast checker → · Palette generator →

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