#BDA02C#BDA02C

#BDA02C is a light, vivid yellow. Relative luminance 0.361; OKLCH L 71.2% C 0.132 H 94.2°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#BDA02C
RGBrgb(189, 160, 44)
HSLhsl(48, 62%, 46%)
HSVhsv(48, 77%, 74%)
CMYKcmyk(0%, 15.3%, 76.7%, 25.9%)
CIE-LABlab(66.63, -1.18, 60.24)
CIE-LCHlch(66.63, 60.25, 91.12°)
OKLaboklab(71.2% -0.0098 0.1318)
OKLCHoklch(71.2% 0.132 94.2)
XYZxyz(34.0136, 36.1442, 7.5674)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA02C #2C49BD
analogous
#BD572C #BDA02C #91BD2C
triadic
#BDA02C #2CBDA0 #A02CBD
tetradic
#BDA02C #2CBD57 #2C49BD #BD2C91
square
#BDA02C #2CBD57 #2C49BD #BD2C91
split-complementary
#BDA02C #2C91BD #572CBD
monochromatic
#5A4C15 #8B7620 #BDA02C #D6BB50 #E2CF82

Accessibility & contrast

On white

2.55
#BDA02C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.23
#BDA02C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA02C
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA02C#FFFFFF#000000##000000
##BDA02C1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D15
Deuteranopia (green-blind)
#B9A633
Tritanopia (blue-blind)
#CD938A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bda02c;
/* rgb */ color: rgb(189, 160, 44);
/* oklch */ color: oklch(71.2% 0.132 94.2);
Tailwind
colors: {
  custom: {
    50: '#d5bb6e',
    500: '#bda02c',
    950: '#000000',
  },
}
SCSS
$custom: #bda02c;
$custom-light: #d5bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bda02c",
  "rgb": {
    "r": 189,
    "g": 160,
    "b": 44
  },
  "hsl": {
    "h": 48,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.712,
    "c": 0.13212,
    "h": 94.2
  },
  "luminance": 0.36142
}

Semantic roles & 50–950 ramp

primary
#BDA02C
secondary
#7A8ACB
accent
#63E542
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BDA02C

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

Preview Lab → · Contrast checker → · Palette generator →

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