#BDB240#BDB240

#BDB240 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.2% C 0.133 H 103.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#BDB240
RGBrgb(189, 178, 64)
HSLhsl(55, 49%, 50%)
HSVhsv(55, 66%, 74%)
CMYKcmyk(0%, 5.8%, 66.1%, 25.9%)
CIE-LABlab(71.58, -9.68, 57.39)
CIE-LCHlch(71.58, 58.20, 99.57°)
OKLaboklab(75.16% -0.0317 0.1294)
OKLCHoklch(75.16% 0.133 103.8)
XYZxyz(37.8336, 43.0312, 11.1625)
Luminance0.4303 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB240 #404BBD
analogous
#BD7440 #BDB240 #8ABD40
triadic
#BDB240 #40BDB2 #B240BD
tetradic
#BDB240 #40BD74 #404BBD #BD408A
square
#BDB240 #40BD74 #404BBD #BD408A
split-complementary
#BDB240 #408ABD #7440BD
monochromatic
#625C21 #8F8731 #BDB240 #CDC56D #DDD79A

Accessibility & contrast

On white

2.19
#BDB240 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#BDB240 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB240
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB240#FFFFFF#000000##000000
##BDB2401.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#C5B247
Tritanopia (blue-blind)
#CBA69B
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb240;
/* rgb */ color: rgb(189, 178, 64);
/* oklch */ color: oklch(75.2% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#d4c87b',
    500: '#bdb240',
    950: '#000000',
  },
}
SCSS
$custom: #bdb240;
$custom-light: #d4c87b;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb240",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 64
  },
  "hsl": {
    "h": 54.72,
    "s": 49.407,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75164,
    "c": 0.13323,
    "h": 103.8
  },
  "luminance": 0.4303
}

Semantic roles & 50–950 ramp

primary
#BDB240
secondary
#9095C9
accent
#5BD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #BDB240

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

Preview Lab → · Contrast checker → · Palette generator →

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