#BDA72C#BDA72C

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

Color values

HEX#BDA72C
RGBrgb(189, 167, 44)
HSLhsl(51, 62%, 46%)
HSVhsv(51, 77%, 74%)
CMYKcmyk(0%, 11.6%, 76.7%, 25.9%)
CIE-LABlab(68.49, -4.91, 61.96)
CIE-LCHlch(68.49, 62.16, 94.53°)
OKLaboklab(72.67% -0.0203 0.1354)
OKLCHoklch(72.67% 0.137 98.5)
XYZxyz(35.2614, 38.6399, 7.9833)
Luminance0.3864 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA72C #2C42BD
analogous
#BD5F2C #BDA72C #8ABD2C
triadic
#BDA72C #2CBDA7 #A72CBD
tetradic
#BDA72C #2CBD5F #2C42BD #BD2C8A
square
#BDA72C #2CBD5F #2C42BD #BD2C8A
split-complementary
#BDA72C #2C8ABD #5F2CBD
monochromatic
#5A4F15 #8B7B20 #BDA72C #D6C250 #E2D382

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA72C#FFFFFF#000000##000000
##BDA72C1.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)
#B8A312
Deuteranopia (green-blind)
#BEAA35
Tritanopia (blue-blind)
#CC9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bda72c;
/* rgb */ color: rgb(189, 167, 44);
/* oklch */ color: oklch(72.7% 0.137 98.5);
Tailwind
colors: {
  custom: {
    50: '#d5c06f',
    500: '#bda72c',
    950: '#000000',
  },
}
SCSS
$custom: #bda72c;
$custom-light: #d5c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bda72c",
  "rgb": {
    "r": 189,
    "g": 167,
    "b": 44
  },
  "hsl": {
    "h": 50.897,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.72672,
    "c": 0.13697,
    "h": 98.5
  },
  "luminance": 0.38638
}

Semantic roles & 50–950 ramp

primary
#BDA72C
secondary
#7A86CB
accent
#5BE542
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA72C

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

Preview Lab → · Contrast checker → · Palette generator →

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