#BDBD1F#BDBD1F

#BDBD1F is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.4% C 0.162 H 109.7°. Best body text is #000000 at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#BDBD1F
RGBrgb(189, 189, 31)
HSLhsl(60, 72%, 43%)
HSVhsv(60, 84%, 74%)
CMYKcmyk(0%, 0%, 83.6%, 25.9%)
CIE-LABlab(74.39, -16.70, 70.87)
CIE-LCHlch(74.39, 72.81, 103.26°)
OKLaboklab(77.35% -0.0543 0.1522)
OKLCHoklch(77.35% 0.162 109.7)
XYZxyz(39.4328, 47.3142, 8.3514)
Luminance0.4731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD1F #1F1FBD
analogous
#BD6E1F #BDBD1F #6EBD1F
triadic
#BDBD1F #1FBDBD #BD1FBD
tetradic
#BDBD1F #1FBD6E #1F1FBD #BD1F6E
square
#BDBD1F #1FBD6E #1F1FBD #BD1F6E
split-complementary
#BDBD1F #1F6EBD #6E1FBD
monochromatic
#54540E #888816 #BDBD1F #DFDF3A #E7E76F

Accessibility & contrast

On white

2.01
#BDBD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.46
#BDBD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD1F
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD1F#FFFFFF#000000##000000
##BDBD1F1.002.0110.4610.46
#FFFFFF2.011.0021.0021.00
#00000010.4621.001.001.00
##00000010.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB500
Deuteranopia (green-blind)
#CFB930
Tritanopia (blue-blind)
#CBB0A1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #bdbd1f;
/* rgb */ color: rgb(189, 189, 31);
/* oklch */ color: oklch(77.4% 0.162 109.7);
Tailwind
colors: {
  custom: {
    50: '#d5d06d',
    500: '#bdbd1f',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd1f;
$custom-light: #d5d06d;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd1f",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 31
  },
  "hsl": {
    "h": 60,
    "s": 71.818,
    "l": 43.137
  },
  "oklch": {
    "l": 0.77351,
    "c": 0.16162,
    "h": 109.7
  },
  "luminance": 0.47313
}

Semantic roles & 50–950 ramp

primary
#BDBD1F
secondary
#6A6ACE
accent
#39EF39
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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