#BDAB23#BDAB23

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

Color values

HEX#BDAB23
RGBrgb(189, 171, 35)
HSLhsl(53, 69%, 44%)
HSVhsv(53, 81%, 74%)
CMYKcmyk(0%, 9.5%, 81.5%, 25.9%)
CIE-LABlab(69.52, -7.34, 65.70)
CIE-LCHlch(69.52, 66.11, 96.37°)
OKLaboklab(73.47% -0.028 0.1417)
OKLCHoklch(73.47% 0.144 101.2)
XYZxyz(35.8543, 40.0677, 7.4351)
Luminance0.4007 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAB23 #2335BD
analogous
#BD5E23 #BDAB23 #82BD23
triadic
#BDAB23 #23BDAB #AB23BD
tetradic
#BDAB23 #23BD5E #2335BD #BD2382
square
#BDAB23 #23BD5E #2335BD #BD2382
split-complementary
#BDAB23 #2382BD #5E23BD
monochromatic
#564E10 #897C19 #BDAB23 #DCCA41 #E5D875

Accessibility & contrast

On white

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

On black

9.01
#BDAB23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAB23
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAB23#FFFFFF#000000##000000
##BDAB231.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdab23;
/* rgb */ color: rgb(189, 171, 35);
/* oklch */ color: oklch(73.5% 0.144 101.2);
Tailwind
colors: {
  custom: {
    50: '#d5c36c',
    500: '#bdab23',
    950: '#000000',
  },
}
SCSS
$custom: #bdab23;
$custom-light: #d5c36c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdab23",
  "rgb": {
    "r": 189,
    "g": 171,
    "b": 35
  },
  "hsl": {
    "h": 52.987,
    "s": 68.75,
    "l": 43.922
  },
  "oklch": {
    "l": 0.73474,
    "c": 0.14443,
    "h": 101.2
  },
  "luminance": 0.40066
}

Semantic roles & 50–950 ramp

primary
#BDAB23
secondary
#6F7ACD
accent
#51EC3C
background
#FDFBF6
surface
#FBF7EC
border
#D4D0C7
text
#151207
muted
#83817A

Preview Lab

Preview with #BDAB23

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

Preview Lab → · Contrast checker → · Palette generator →

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