#BDAE21#BDAE21

#BDAE21 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.1% C 0.148 H 102.8°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#BDAE21
RGBrgb(189, 174, 33)
HSLhsl(54, 70%, 44%)
HSVhsv(54, 83%, 74%)
CMYKcmyk(0%, 7.9%, 82.5%, 25.9%)
CIE-LABlab(70.32, -8.96, 66.93)
CIE-LCHlch(70.32, 67.53, 97.63°)
OKLaboklab(74.11% -0.0327 0.144)
OKLCHoklch(74.11% 0.148 102.8)
XYZxyz(36.3986, 41.2024, 7.4741)
Luminance0.4120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAE21 #2130BD
analogous
#BD6021 #BDAE21 #7EBD21
triadic
#BDAE21 #21BDAE #AE21BD
tetradic
#BDAE21 #21BD60 #2130BD #BD217E
square
#BDAE21 #21BD60 #2130BD #BD217E
split-complementary
#BDAE21 #217EBD #6021BD
monochromatic
#554E0F #897E18 #BDAE21 #DDCE3E #E6DB72

Accessibility & contrast

On white

2.27
#BDAE21 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#BDAE21 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAE21
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAE21#FFFFFF#000000##000000
##BDAE211.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#C3AF2E
Tritanopia (blue-blind)
#CCA195
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #bdae21;
/* rgb */ color: rgb(189, 174, 33);
/* oklch */ color: oklch(74.1% 0.148 102.8);
Tailwind
colors: {
  custom: {
    50: '#d5c56b',
    500: '#bdae21',
    950: '#000000',
  },
}
SCSS
$custom: #bdae21;
$custom-light: #d5c56b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdae21",
  "rgb": {
    "r": 189,
    "g": 174,
    "b": 33
  },
  "hsl": {
    "h": 54.231,
    "s": 70.27,
    "l": 43.529
  },
  "oklch": {
    "l": 0.74107,
    "c": 0.14766,
    "h": 102.8
  },
  "luminance": 0.41201
}

Semantic roles & 50–950 ramp

primary
#BDAE21
secondary
#6D76CD
accent
#4CED3B
background
#FDFCF6
surface
#FBF8EC
border
#D4D1C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDAE21

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

Preview Lab → · Contrast checker → · Palette generator →

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