#BDB126#BDB126

#BDB126 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.8% C 0.148 H 104.2°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#BDB126
RGBrgb(189, 177, 38)
HSLhsl(55, 67%, 45%)
HSVhsv(55, 80%, 74%)
CMYKcmyk(0%, 6.3%, 79.9%, 25.9%)
CIE-LABlab(71.15, -10.36, 66.26)
CIE-LCHlch(71.15, 67.07, 98.89°)
OKLaboklab(74.78% -0.0362 0.1435)
OKLCHoklch(74.78% 0.148 104.2)
XYZxyz(37.0600, 42.4046, 8.0661)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB126 #2632BD
analogous
#BD6626 #BDB126 #7EBD26
triadic
#BDB126 #26BDB1 #B126BD
tetradic
#BDB126 #26BD66 #2632BD #BD267E
square
#BDB126 #26BD66 #2632BD #BD267E
split-complementary
#BDB126 #267EBD #6626BD
monochromatic
#575212 #8A811C #BDB126 #DACE46 #E4DC79

Accessibility & contrast

On white

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

On black

9.48
#BDB126 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB126
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB126#FFFFFF#000000##000000
##BDB1261.002.229.489.48
#FFFFFF2.221.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C5B132
Tritanopia (blue-blind)
#CCA498
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdb126;
/* rgb */ color: rgb(189, 177, 38);
/* oklch */ color: oklch(74.8% 0.148 104.2);
Tailwind
colors: {
  custom: {
    50: '#d5c76e',
    500: '#bdb126',
    950: '#000000',
  },
}
SCSS
$custom: #bdb126;
$custom-light: #d5c76e;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb126",
  "rgb": {
    "r": 189,
    "g": 177,
    "b": 38
  },
  "hsl": {
    "h": 55.232,
    "s": 66.52,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74775,
    "c": 0.14799,
    "h": 104.2
  },
  "luminance": 0.42403
}

Semantic roles & 50–950 ramp

primary
#BDB126
secondary
#737ACC
accent
#4CE93E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB126

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

Preview Lab → · Contrast checker → · Palette generator →

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