#BDBD27#BDBD27

#BDBD27 is a light, vivid yellow. Relative luminance 0.474; OKLCH L 77.4% C 0.158 H 109.6°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#BDBD27
RGBrgb(189, 189, 39)
HSLhsl(60, 66%, 45%)
HSVhsv(60, 79%, 74%)
CMYKcmyk(0%, 0%, 79.4%, 25.9%)
CIE-LABlab(74.42, -16.45, 68.85)
CIE-LCHlch(74.42, 70.79, 103.44°)
OKLaboklab(77.39% -0.0531 0.1493)
OKLCHoklch(77.39% 0.158 109.6)
XYZxyz(39.5516, 47.3617, 8.9774)
Luminance0.4736 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDBD27 #2727BD
analogous
#BD7227 #BDBD27 #72BD27
triadic
#BDBD27 #27BDBD #BD27BD
tetradic
#BDBD27 #27BD72 #2727BD #BD2772
square
#BDBD27 #27BD72 #2727BD #BD2772
split-complementary
#BDBD27 #2772BD #7227BD
monochromatic
#585812 #8A8A1D #BDBD27 #D9D948 #E4E47B

Accessibility & contrast

On white

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

On black

10.47
#BDBD27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDBD27
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDBD27#FFFFFF#000000##000000
##BDBD271.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #bdbd27;
/* rgb */ color: rgb(189, 189, 39);
/* oklch */ color: oklch(77.4% 0.158 109.6);
Tailwind
colors: {
  custom: {
    50: '#d5d070',
    500: '#bdbd27',
    950: '#000000',
  },
}
SCSS
$custom: #bdbd27;
$custom-light: #d5d070;
$custom-dark: #000000;
JSON
{
  "hex": "#bdbd27",
  "rgb": {
    "r": 189,
    "g": 189,
    "b": 39
  },
  "hsl": {
    "h": 60,
    "s": 65.789,
    "l": 44.706
  },
  "oklch": {
    "l": 0.77385,
    "c": 0.15842,
    "h": 109.6
  },
  "luminance": 0.4736
}

Semantic roles & 50–950 ramp

primary
#BDBD27
secondary
#7474CC
accent
#3FE93F
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151308
muted
#83827B

Preview Lab

Preview with #BDBD27

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

Preview Lab → · Contrast checker → · Palette generator →

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