#BDA72B#BDA72B

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

Color values

HEX#BDA72B
RGBrgb(189, 167, 43)
HSLhsl(51, 63%, 45%)
HSVhsv(51, 77%, 74%)
CMYKcmyk(0%, 11.6%, 77.2%, 25.9%)
CIE-LABlab(68.48, -4.95, 62.30)
CIE-LCHlch(68.48, 62.49, 94.54°)
OKLaboklab(72.67% -0.0205 0.136)
OKLCHoklch(72.67% 0.138 98.6)
XYZxyz(35.2428, 38.6325, 7.8855)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA72B #2B41BD
analogous
#BD5E2B #BDA72B #8ABD2B
triadic
#BDA72B #2BBDA7 #A72BBD
tetradic
#BDA72B #2BBD5E #2B41BD #BD2B8A
square
#BDA72B #2BBD5E #2B41BD #BD2B8A
split-complementary
#BDA72B #2B8ABD #5E2BBD
monochromatic
#594F14 #8B7B20 #BDA72B #D7C24E #E2D380

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BDA72B#FFFFFF#000000##000000
##BDA72B1.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)
#B8A30F
Deuteranopia (green-blind)
#BEAA34
Tritanopia (blue-blind)
#CC9A90
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #bda72b;
/* rgb */ color: rgb(189, 167, 43);
/* oklch */ color: oklch(72.7% 0.138 98.6);
Tailwind
colors: {
  custom: {
    50: '#d5c06f',
    500: '#bda72b',
    950: '#000000',
  },
}
SCSS
$custom: #bda72b;
$custom-light: #d5c06f;
$custom-dark: #000000;
JSON
{
  "hex": "#bda72b",
  "rgb": {
    "r": 189,
    "g": 167,
    "b": 43
  },
  "hsl": {
    "h": 50.959,
    "s": 62.931,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72666,
    "c": 0.13751,
    "h": 98.6
  },
  "luminance": 0.38631
}

Semantic roles & 50–950 ramp

primary
#BDA72B
secondary
#7985CB
accent
#5BE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA72B

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

Preview Lab → · Contrast checker → · Palette generator →

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