#BDA02B#BDA02B

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

Color values

HEX#BDA02B
RGBrgb(189, 160, 43)
HSLhsl(48, 63%, 45%)
HSVhsv(48, 77%, 74%)
CMYKcmyk(0%, 15.3%, 77.2%, 25.9%)
CIE-LABlab(66.62, -1.22, 60.58)
CIE-LCHlch(66.62, 60.59, 91.15°)
OKLaboklab(71.19% -0.01 0.1323)
OKLCHoklch(71.19% 0.133 94.3)
XYZxyz(33.9950, 36.1368, 7.4696)
Luminance0.3614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA02B #2B48BD
analogous
#BD572B #BDA02B #91BD2B
triadic
#BDA02B #2BBDA0 #A02BBD
tetradic
#BDA02B #2BBD57 #2B48BD #BD2B91
square
#BDA02B #2BBD57 #2B48BD #BD2B91
split-complementary
#BDA02B #2B91BD #572BBD
monochromatic
#594C14 #8B7620 #BDA02B #D7BC4E #E2CF80

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA02B#FFFFFF#000000##000000
##BDA02B1.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)
#B29D13
Deuteranopia (green-blind)
#B9A632
Tritanopia (blue-blind)
#CD938A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bda02b;
/* rgb */ color: rgb(189, 160, 43);
/* oklch */ color: oklch(71.2% 0.133 94.3);
Tailwind
colors: {
  custom: {
    50: '#d5bb6e',
    500: '#bda02b',
    950: '#000000',
  },
}
SCSS
$custom: #bda02b;
$custom-light: #d5bb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bda02b",
  "rgb": {
    "r": 189,
    "g": 160,
    "b": 43
  },
  "hsl": {
    "h": 48.082,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71193,
    "c": 0.13268,
    "h": 94.3
  },
  "luminance": 0.36135
}

Semantic roles & 50–950 ramp

primary
#BDA02B
secondary
#7989CB
accent
#62E642
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B

Preview Lab

Preview with #BDA02B

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

Preview Lab → · Contrast checker → · Palette generator →

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