#BDA12B#BDA12B

#BDA12B is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.4% C 0.133 H 94.9°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#BDA12B
RGBrgb(189, 161, 43)
HSLhsl(48, 63%, 45%)
HSVhsv(48, 77%, 74%)
CMYKcmyk(0%, 14.8%, 77.2%, 25.9%)
CIE-LABlab(66.89, -1.76, 60.83)
CIE-LCHlch(66.89, 60.85, 91.65°)
OKLaboklab(71.4% -0.0115 0.1328)
OKLCHoklch(71.4% 0.133 94.9)
XYZxyz(34.1690, 36.4849, 7.5276)
Luminance0.3648 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA12B #2B47BD
analogous
#BD582B #BDA12B #90BD2B
triadic
#BDA12B #2BBDA1 #A12BBD
tetradic
#BDA12B #2BBD58 #2B47BD #BD2B90
square
#BDA12B #2BBD58 #2B47BD #BD2B90
split-complementary
#BDA12B #2B90BD #582BBD
monochromatic
#594C14 #8B7720 #BDA12B #D7BD4E #E2CF80

Accessibility & contrast

On white

2.53
#BDA12B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#BDA12B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA12B
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA12B#FFFFFF#000000##000000
##BDA12B1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E13
Deuteranopia (green-blind)
#BAA633
Tritanopia (blue-blind)
#CD948A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda12b;
/* rgb */ color: rgb(189, 161, 43);
/* oklch */ color: oklch(71.4% 0.133 94.9);
Tailwind
colors: {
  custom: {
    50: '#d5bc6e',
    500: '#bda12b',
    950: '#000000',
  },
}
SCSS
$custom: #bda12b;
$custom-light: #d5bc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bda12b",
  "rgb": {
    "r": 189,
    "g": 161,
    "b": 43
  },
  "hsl": {
    "h": 48.493,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71403,
    "c": 0.13332,
    "h": 94.9
  },
  "luminance": 0.36483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDA12B

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

Preview Lab → · Contrast checker → · Palette generator →

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