#BDB238#BDB238

#BDB238 is a light, vivid yellow. Relative luminance 0.429; OKLCH L 75.1% C 0.139 H 104.1°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#BDB238
RGBrgb(189, 178, 56)
HSLhsl(55, 54%, 48%)
HSVhsv(55, 70%, 74%)
CMYKcmyk(0%, 5.8%, 70.4%, 25.9%)
CIE-LABlab(71.52, -10.12, 60.51)
CIE-LCHlch(71.52, 61.35, 99.49°)
OKLaboklab(75.1% -0.0339 0.1346)
OKLCHoklch(75.1% 0.139 104.1)
XYZxyz(37.6220, 42.9466, 10.0484)
Luminance0.4294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB238 #3843BD
analogous
#BD7038 #BDB238 #85BD38
triadic
#BDB238 #38BDB2 #B238BD
tetradic
#BDB238 #38BD70 #3843BD #BD3885
square
#BDB238 #38BD70 #3843BD #BD3885
split-complementary
#BDB238 #3885BD #7038BD
monochromatic
#5F591C #8E862A #BDB238 #D0C762 #DED891

Accessibility & contrast

On white

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

On black

9.59
#BDB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB238
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB238#FFFFFF#000000##000000
##BDB2381.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC25
Deuteranopia (green-blind)
#C5B240
Tritanopia (blue-blind)
#CBA69A
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #bdb238;
/* rgb */ color: rgb(189, 178, 56);
/* oklch */ color: oklch(75.1% 0.139 104.1);
Tailwind
colors: {
  custom: {
    50: '#d4c876',
    500: '#bdb238',
    950: '#000000',
  },
}
SCSS
$custom: #bdb238;
$custom-light: #d4c876;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb238",
  "rgb": {
    "r": 189,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 55.038,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.751,
    "c": 0.13882,
    "h": 104.1
  },
  "luminance": 0.42945
}

Semantic roles & 50–950 ramp

primary
#BDB238
secondary
#878DC9
accent
#56DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB238

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

Preview Lab → · Contrast checker → · Palette generator →

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