#BDAB25#BDAB25

#BDAB25 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.5% C 0.144 H 101.1°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#BDAB25
RGBrgb(189, 171, 37)
HSLhsl(53, 67%, 44%)
HSVhsv(53, 80%, 74%)
CMYKcmyk(0%, 9.5%, 80.4%, 25.9%)
CIE-LABlab(69.53, -7.27, 65.13)
CIE-LCHlch(69.53, 65.53, 96.37°)
OKLaboklab(73.48% -0.0276 0.1409)
OKLCHoklch(73.48% 0.144 101.1)
XYZxyz(35.8849, 40.0799, 7.5959)
Luminance0.4008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB25 #2537BD
analogous
#BD5F25 #BDAB25 #83BD25
triadic
#BDAB25 #25BDAB #AB25BD
tetradic
#BDAB25 #25BD5F #2537BD #BD2583
square
#BDAB25 #25BD5F #2537BD #BD2583
split-complementary
#BDAB25 #2583BD #5F25BD
monochromatic
#574E11 #8A7D1B #BDAB25 #DBC945 #E5D878

Accessibility & contrast

On white

2.33
#BDAB25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#BDAB25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB25
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB25#FFFFFF#000000##000000
##BDAB251.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#C1AD30
Tritanopia (blue-blind)
#CC9E92
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #bdab25;
/* rgb */ color: rgb(189, 171, 37);
/* oklch */ color: oklch(73.5% 0.144 101.1);
Tailwind
colors: {
  custom: {
    50: '#d5c36c',
    500: '#bdab25',
    950: '#000000',
  },
}
SCSS
$custom: #bdab25;
$custom-light: #d5c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab25",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 37
  },
  "hsl": {
    "h": 52.895,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73483,
    "c": 0.14353,
    "h": 101.1
  },
  "luminance": 0.40078
}

Semantic roles & 50–950 ramp

primary
#BDAB25
secondary
#727CCC
accent
#52EA3E
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151208
muted
#83817B

Preview Lab

Preview with #BDAB25

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

Preview Lab → · Contrast checker → · Palette generator →

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