#BDA22C#BDA22C

#BDA22C is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.6% C 0.133 H 95.5°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#BDA22C
RGBrgb(189, 162, 44)
HSLhsl(49, 62%, 46%)
HSVhsv(49, 77%, 74%)
CMYKcmyk(0%, 14.3%, 76.7%, 25.9%)
CIE-LABlab(67.16, -2.25, 60.73)
CIE-LCHlch(67.16, 60.77, 92.12°)
OKLaboklab(71.62% -0.0128 0.1328)
OKLCHoklch(71.62% 0.133 95.5)
XYZxyz(34.3631, 36.8432, 7.6839)
Luminance0.3684 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA22C #2C47BD
analogous
#BD5A2C #BDA22C #8FBD2C
triadic
#BDA22C #2CBDA2 #A22CBD
tetradic
#BDA22C #2CBD5A #2C47BD #BD2C8F
square
#BDA22C #2CBD5A #2C47BD #BD2C8F
split-complementary
#BDA22C #2C8FBD #5A2CBD
monochromatic
#5A4D15 #8B7720 #BDA22C #D6BD50 #E2D082

Accessibility & contrast

On white

2.51
#BDA22C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#BDA22C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA22C
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA22C#FFFFFF#000000##000000
##BDA22C1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F14
Deuteranopia (green-blind)
#BAA734
Tritanopia (blue-blind)
#CC958B
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda22c;
/* rgb */ color: rgb(189, 162, 44);
/* oklch */ color: oklch(71.6% 0.133 95.5);
Tailwind
colors: {
  custom: {
    50: '#d5bd6e',
    500: '#bda22c',
    950: '#000000',
  },
}
SCSS
$custom: #bda22c;
$custom-light: #d5bd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#bda22c",
  "rgb": {
    "r": 189,
    "g": 162,
    "b": 44
  },
  "hsl": {
    "h": 48.828,
    "s": 62.232,
    "l": 45.686
  },
  "oklch": {
    "l": 0.71618,
    "c": 0.13344,
    "h": 95.5
  },
  "luminance": 0.36841
}

Semantic roles & 50–950 ramp

primary
#BDA22C
secondary
#7A89CB
accent
#61E542
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BDA22C

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

Preview Lab → · Contrast checker → · Palette generator →

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