#BDB225#BDB225

#BDB225 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.0% C 0.149 H 104.7°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#BDB225
RGBrgb(189, 178, 37)
HSLhsl(56, 67%, 44%)
HSVhsv(56, 80%, 74%)
CMYKcmyk(0%, 5.8%, 80.4%, 25.9%)
CIE-LABlab(71.42, -10.91, 66.78)
CIE-LCHlch(71.42, 67.67, 99.28°)
OKLaboklab(74.99% -0.0378 0.1444)
OKLCHoklch(74.99% 0.149 104.7)
XYZxyz(37.2423, 42.7947, 8.0484)
Luminance0.4279 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB225 #2530BD
analogous
#BD6625 #BDB225 #7CBD25
triadic
#BDB225 #25BDB2 #B225BD
tetradic
#BDB225 #25BD66 #2530BD #BD257C
square
#BDB225 #25BD66 #2530BD #BD257C
split-complementary
#BDB225 #257CBD #6625BD
monochromatic
#575211 #8A821B #BDB225 #DBD045 #E5DD78

Accessibility & contrast

On white

2.20
#BDB225 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.56
#BDB225 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB225
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB225#FFFFFF#000000##000000
##BDB2251.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC00
Deuteranopia (green-blind)
#C6B231
Tritanopia (blue-blind)
#CCA598
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb225;
/* rgb */ color: rgb(189, 178, 37);
/* oklch */ color: oklch(75.0% 0.149 104.7);
Tailwind
colors: {
  custom: {
    50: '#d5c86d',
    500: '#bdb225',
    950: '#000000',
  },
}
SCSS
$custom: #bdb225;
$custom-light: #d5c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb225",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 37
  },
  "hsl": {
    "h": 55.658,
    "s": 67.257,
    "l": 44.314
  },
  "oklch": {
    "l": 0.74985,
    "c": 0.14929,
    "h": 104.7
  },
  "luminance": 0.42793
}

Semantic roles & 50–950 ramp

primary
#BDB225
secondary
#7278CC
accent
#4AEA3E
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDB225

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

Preview Lab → · Contrast checker → · Palette generator →

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