#BDA940#BDA940

#BDA940 is a light, vivid yellow. Relative luminance 0.396; OKLCH L 73.2% C 0.125 H 98.4°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#BDA940
RGBrgb(189, 169, 64)
HSLhsl(50, 49%, 50%)
HSVhsv(50, 66%, 74%)
CMYKcmyk(0%, 10.6%, 66.1%, 25.9%)
CIE-LABlab(69.16, -4.97, 54.87)
CIE-LCHlch(69.16, 55.09, 95.17°)
OKLaboklab(73.25% -0.0183 0.1241)
OKLCHoklch(73.25% 0.125 98.4)
XYZxyz(36.1012, 39.5666, 10.5850)
Luminance0.3957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA940 #4054BD
analogous
#BD6B40 #BDA940 #93BD40
triadic
#BDA940 #40BDA9 #A940BD
tetradic
#BDA940 #40BD6B #4054BD #BD4093
square
#BDA940 #40BD6B #4054BD #BD4093
split-complementary
#BDA940 #4093BD #6B40BD
monochromatic
#625721 #8F8031 #BDA940 #CDBE6D #DDD29A

Accessibility & contrast

On white

2.36
#BDA940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#BDA940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA940
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA940#FFFFFF#000000##000000
##BDA9401.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A533
Deuteranopia (green-blind)
#BEAC46
Tritanopia (blue-blind)
#CB9D93
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #bda940;
/* rgb */ color: rgb(189, 169, 64);
/* oklch */ color: oklch(73.2% 0.125 98.4);
Tailwind
colors: {
  custom: {
    50: '#d4c27a',
    500: '#bda940',
    950: '#000000',
  },
}
SCSS
$custom: #bda940;
$custom-light: #d4c27a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda940",
  "rgb": {
    "r": 189,
    "g": 169,
    "b": 64
  },
  "hsl": {
    "h": 50.4,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.73246,
    "c": 0.12541,
    "h": 98.4
  },
  "luminance": 0.39565
}

Semantic roles & 50–950 ramp

primary
#BDA940
secondary
#9099C9
accent
#65D94F
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BDA940

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

Preview Lab → · Contrast checker → · Palette generator →

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