#BDA12F#BDA12F

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

Color values

HEX#BDA12F
RGBrgb(189, 161, 47)
HSLhsl(48, 60%, 46%)
HSVhsv(48, 75%, 74%)
CMYKcmyk(0%, 14.8%, 75.1%, 25.9%)
CIE-LABlab(66.91, -1.59, 59.42)
CIE-LCHlch(66.91, 59.44, 91.53°)
OKLaboklab(71.43% -0.0106 0.1306)
OKLCHoklch(71.43% 0.131 94.6)
XYZxyz(34.2461, 36.5157, 7.9332)
Luminance0.3651 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA12F #2F4BBD
analogous
#BD5A2F #BDA12F #92BD2F
triadic
#BDA12F #2FBDA1 #A12FBD
tetradic
#BDA12F #2FBD5A #2F4BBD #BD2F92
square
#BDA12F #2FBD5A #2F4BBD #BD2F92
split-complementary
#BDA12F #2F92BD #5A2FBD
monochromatic
#5B4D17 #8C7723 #BDA12F #D5BB55 #E1CF86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA12F#FFFFFF#000000##000000
##BDA12F1.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)
#B29E1B
Deuteranopia (green-blind)
#B9A636
Tritanopia (blue-blind)
#CC948B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda12f;
/* rgb */ color: rgb(189, 161, 47);
/* oklch */ color: oklch(71.4% 0.131 94.6);
Tailwind
colors: {
  custom: {
    50: '#d5bc70',
    500: '#bda12f',
    950: '#000000',
  },
}
SCSS
$custom: #bda12f;
$custom-light: #d5bc70;
$custom-dark: #000000;
JSON
{
  "hex": "#bda12f",
  "rgb": {
    "r": 189,
    "g": 161,
    "b": 47
  },
  "hsl": {
    "h": 48.169,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.71428,
    "c": 0.13106,
    "h": 94.6
  },
  "luminance": 0.36514
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #BDA12F

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

Preview Lab → · Contrast checker → · Palette generator →

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