#BDA826#BDA826

#BDA826 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.9% C 0.141 H 99.4°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#BDA826
RGBrgb(189, 168, 38)
HSLhsl(52, 67%, 45%)
HSVhsv(52, 80%, 74%)
CMYKcmyk(0%, 11.1%, 79.9%, 25.9%)
CIE-LABlab(68.73, -5.66, 64.12)
CIE-LCHlch(68.73, 64.37, 95.04°)
OKLaboklab(72.85% -0.023 0.1389)
OKLCHoklch(72.85% 0.141 99.4)
XYZxyz(35.3406, 38.9658, 7.4930)
Luminance0.3896 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA826 #263BBD
analogous
#BD5D26 #BDA826 #86BD26
triadic
#BDA826 #26BDA8 #A826BD
tetradic
#BDA826 #26BD5D #263BBD #BD2686
square
#BDA826 #26BD5D #263BBD #BD2686
split-complementary
#BDA826 #2686BD #5D26BD
monochromatic
#574D12 #8A7B1C #BDA826 #DAC546 #E4D579

Accessibility & contrast

On white

2.39
#BDA826 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#BDA826 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA826
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA826#FFFFFF#000000##000000
##BDA8261.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#BFAB30
Tritanopia (blue-blind)
#CC9B90
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #bda826;
/* rgb */ color: rgb(189, 168, 38);
/* oklch */ color: oklch(72.9% 0.141 99.4);
Tailwind
colors: {
  custom: {
    50: '#d5c16c',
    500: '#bda826',
    950: '#000000',
  },
}
SCSS
$custom: #bda826;
$custom-light: #d5c16c;
$custom-dark: #000000;
JSON
{
  "hex": "#bda826",
  "rgb": {
    "r": 189,
    "g": 168,
    "b": 38
  },
  "hsl": {
    "h": 51.656,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7285,
    "c": 0.14077,
    "h": 99.4
  },
  "luminance": 0.38964
}

Semantic roles & 50–950 ramp

primary
#BDA826
secondary
#737FCC
accent
#56E93E
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA826

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

Preview Lab → · Contrast checker → · Palette generator →

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