#BDB042#BDB042

#BDB042 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.130 H 102.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#BDB042
RGBrgb(189, 176, 66)
HSLhsl(54, 48%, 50%)
HSVhsv(54, 65%, 74%)
CMYKcmyk(0%, 6.9%, 65.1%, 25.9%)
CIE-LABlab(71.05, -8.52, 56.00)
CIE-LCHlch(71.05, 56.65, 98.65°)
OKLaboklab(74.75% -0.0282 0.1268)
OKLCHoklch(74.75% 0.13 102.6)
XYZxyz(37.4965, 42.2643, 11.3359)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB042 #424FBD
analogous
#BD7342 #BDB042 #8CBD42
triadic
#BDB042 #42BDB0 #B042BD
tetradic
#BDB042 #42BD73 #424FBD #BD428C
square
#BDB042 #42BD73 #424FBD #BD428C
split-complementary
#BDB042 #428CBD #7342BD
monochromatic
#625C22 #908632 #BDB042 #CDC36F #DDD69D

Accessibility & contrast

On white

2.22
#BDB042 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#BDB042 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB042
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB042#FFFFFF#000000##000000
##BDB0421.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB34
Deuteranopia (green-blind)
#C3B148
Tritanopia (blue-blind)
#CBA499
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdb042;
/* rgb */ color: rgb(189, 176, 66);
/* oklch */ color: oklch(74.8% 0.130 102.6);
Tailwind
colors: {
  custom: {
    50: '#d4c77c',
    500: '#bdb042',
    950: '#000000',
  },
}
SCSS
$custom: #bdb042;
$custom-light: #d4c77c;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb042",
  "rgb": {
    "r": 189,
    "g": 176,
    "b": 66
  },
  "hsl": {
    "h": 53.659,
    "s": 48.235,
    "l": 50
  },
  "oklch": {
    "l": 0.74754,
    "c": 0.12989,
    "h": 102.6
  },
  "luminance": 0.42263
}

Semantic roles & 50–950 ramp

primary
#BDB042
secondary
#9298C9
accent
#5ED850
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB042

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

Preview Lab → · Contrast checker → · Palette generator →

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