#BDA122#BDA122

#BDA122 is a light, vivid yellow. Relative luminance 0.364; OKLCH L 71.4% C 0.138 H 95.5°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#BDA122
RGBrgb(189, 161, 34)
HSLhsl(49, 70%, 44%)
HSVhsv(49, 82%, 74%)
CMYKcmyk(0%, 14.8%, 82%, 25.9%)
CIE-LABlab(66.84, -2.07, 63.67)
CIE-LCHlch(66.84, 63.71, 91.87°)
OKLaboklab(71.35% -0.0132 0.1371)
OKLCHoklch(71.35% 0.138 95.5)
XYZxyz(34.0218, 36.4260, 6.7520)
Luminance0.3642 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA122 #223EBD
analogous
#BD5322 #BDA122 #8BBD22
triadic
#BDA122 #22BDA1 #A122BD
tetradic
#BDA122 #22BD53 #223EBD #BD228B
square
#BDA122 #22BD53 #223EBD #BD228B
split-complementary
#BDA122 #228BBD #5322BD
monochromatic
#55490F #897519 #BDA122 #DDC040 #E6D173

Accessibility & contrast

On white

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

On black

8.28
#BDA122 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA122
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA122#FFFFFF#000000##000000
##BDA1221.002.538.288.28
#FFFFFF2.531.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#BAA62C
Tritanopia (blue-blind)
#CD948A
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda122;
/* rgb */ color: rgb(189, 161, 34);
/* oklch */ color: oklch(71.4% 0.138 95.5);
Tailwind
colors: {
  custom: {
    50: '#d5bc6a',
    500: '#bda122',
    950: '#000000',
  },
}
SCSS
$custom: #bda122;
$custom-light: #d5bc6a;
$custom-dark: #000000;
JSON
{
  "hex": "#bda122",
  "rgb": {
    "r": 189,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 49.161,
    "s": 69.507,
    "l": 43.725
  },
  "oklch": {
    "l": 0.71353,
    "c": 0.13774,
    "h": 95.5
  },
  "luminance": 0.36424
}

Semantic roles & 50–950 ramp

primary
#BDA122
secondary
#6E7FCD
accent
#5BEC3B
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151107
muted
#83807A

Preview Lab

Preview with #BDA122

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

Preview Lab → · Contrast checker → · Palette generator →

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