#BDB038#BDB038

#BDB038 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.7% C 0.137 H 103.0°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#BDB038
RGBrgb(189, 176, 56)
HSLhsl(54, 54%, 48%)
HSVhsv(54, 70%, 74%)
CMYKcmyk(0%, 6.9%, 70.4%, 25.9%)
CIE-LABlab(70.98, -9.08, 59.98)
CIE-LCHlch(70.98, 60.66, 98.61°)
OKLaboklab(74.67% -0.0309 0.1335)
OKLCHoklch(74.67% 0.137 103)
XYZxyz(37.2270, 42.1565, 9.9167)
Luminance0.4215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDB038 #3845BD
analogous
#BD6D38 #BDB038 #88BD38
triadic
#BDB038 #38BDB0 #B038BD
tetradic
#BDB038 #38BD6D #3845BD #BD3888
square
#BDB038 #38BD6D #3845BD #BD3888
split-complementary
#BDB038 #3888BD #6D38BD
monochromatic
#5F581C #8E842A #BDB038 #D0C662 #DED791

Accessibility & contrast

On white

2.23
#BDB038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.43
#BDB038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDB038
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDB038#FFFFFF#000000##000000
##BDB0381.002.239.439.43
#FFFFFF2.231.0021.0021.00
#0000009.4321.001.001.00
##0000009.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#CBA498
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bdb038;
/* rgb */ color: rgb(189, 176, 56);
/* oklch */ color: oklch(74.7% 0.137 103.0);
Tailwind
colors: {
  custom: {
    50: '#d4c776',
    500: '#bdb038',
    950: '#000000',
  },
}
SCSS
$custom: #bdb038;
$custom-light: #d4c776;
$custom-dark: #000000;
JSON
{
  "hex": "#bdb038",
  "rgb": {
    "r": 189,
    "g": 176,
    "b": 56
  },
  "hsl": {
    "h": 54.135,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.74671,
    "c": 0.13703,
    "h": 103
  },
  "luminance": 0.42155
}

Semantic roles & 50–950 ramp

primary
#BDB038
secondary
#878EC9
accent
#59DE4A
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BDB038

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

Preview Lab → · Contrast checker → · Palette generator →

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