#BDA72D#BDA72D

#BDA72D is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.7% C 0.136 H 98.5°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#BDA72D
RGBrgb(189, 167, 45)
HSLhsl(51, 62%, 46%)
HSVhsv(51, 76%, 74%)
CMYKcmyk(0%, 11.6%, 76.2%, 25.9%)
CIE-LABlab(68.50, -4.87, 61.62)
CIE-LCHlch(68.50, 61.82, 94.52°)
OKLaboklab(72.68% -0.0201 0.1349)
OKLCHoklch(72.68% 0.136 98.5)
XYZxyz(35.2804, 38.6475, 8.0835)
Luminance0.3865 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA72D #2D43BD
analogous
#BD5F2D #BDA72D #8BBD2D
triadic
#BDA72D #2DBDA7 #A72DBD
tetradic
#BDA72D #2DBD5F #2D43BD #BD2D8B
square
#BDA72D #2DBD5F #2D43BD #BD2D8B
split-complementary
#BDA72D #2D8BBD #5F2DBD
monochromatic
#5A5015 #8C7B21 #BDA72D #D6C152 #E1D383

Accessibility & contrast

On white

2.41
#BDA72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#BDA72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA72D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA72D#FFFFFF#000000##000000
##BDA72D1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A314
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#CC9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bda72d;
/* rgb */ color: rgb(189, 167, 45);
/* oklch */ color: oklch(72.7% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#d5c070',
    500: '#bda72d',
    950: '#000000',
  },
}
SCSS
$custom: #bda72d;
$custom-light: #d5c070;
$custom-dark: #000000;
JSON
{
  "hex": "#bda72d",
  "rgb": {
    "r": 189,
    "g": 167,
    "b": 45
  },
  "hsl": {
    "h": 50.833,
    "s": 61.538,
    "l": 45.882
  },
  "oklch": {
    "l": 0.72678,
    "c": 0.13641,
    "h": 98.5
  },
  "luminance": 0.38646
}

Semantic roles & 50–950 ramp

primary
#BDA72D
secondary
#7B87CB
accent
#5CE543
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA72D

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

Preview Lab → · Contrast checker → · Palette generator →

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