#BDA02F#BDA02F

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

Color values

HEX#BDA02F
RGBrgb(189, 160, 47)
HSLhsl(48, 60%, 46%)
HSVhsv(48, 75%, 74%)
CMYKcmyk(0%, 15.3%, 75.1%, 25.9%)
CIE-LABlab(66.65, -1.05, 59.17)
CIE-LCHlch(66.65, 59.18, 91.02°)
OKLaboklab(71.22% -0.0091 0.1301)
OKLCHoklch(71.22% 0.13 94)
XYZxyz(34.0720, 36.1676, 7.8752)
Luminance0.3617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA02F #2F4CBD
analogous
#BD592F #BDA02F #93BD2F
triadic
#BDA02F #2FBDA0 #A02FBD
tetradic
#BDA02F #2FBD59 #2F4CBD #BD2F93
square
#BDA02F #2FBD59 #2F4CBD #BD2F93
split-complementary
#BDA02F #2F93BD #592FBD
monochromatic
#5B4D17 #8C7723 #BDA02F #D5BA55 #E1CE86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA02F#FFFFFF#000000##000000
##BDA02F1.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)
#B19D1B
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#CC938A
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bda02f;
/* rgb */ color: rgb(189, 160, 47);
/* oklch */ color: oklch(71.2% 0.130 94.0);
Tailwind
colors: {
  custom: {
    50: '#d5bb70',
    500: '#bda02f',
    950: '#000000',
  },
}
SCSS
$custom: #bda02f;
$custom-light: #d5bb70;
$custom-dark: #000000;
JSON
{
  "hex": "#bda02f",
  "rgb": {
    "r": 189,
    "g": 160,
    "b": 47
  },
  "hsl": {
    "h": 47.746,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71219,
    "c": 0.13041,
    "h": 94
  },
  "luminance": 0.36166
}

Semantic roles & 50–950 ramp

primary
#BDA02F
secondary
#7E8DCA
accent
#65E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B

Preview Lab

Preview with #BDA02F

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

Preview Lab → · Contrast checker → · Palette generator →

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