#BDA038#BDA038

#BDA038 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 71.3% C 0.125 H 93.1°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#BDA038
RGBrgb(189, 160, 56)
HSLhsl(47, 54%, 48%)
HSVhsv(47, 70%, 74%)
CMYKcmyk(0%, 15.3%, 70.4%, 25.9%)
CIE-LABlab(66.71, -0.62, 55.70)
CIE-LCHlch(66.71, 55.70, 90.64°)
OKLaboklab(71.29% -0.0068 0.1245)
OKLCHoklch(71.29% 0.125 93.1)
XYZxyz(34.2727, 36.2479, 8.9319)
Luminance0.3625 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA038 #3855BD
analogous
#BD5D38 #BDA038 #98BD38
triadic
#BDA038 #38BDA0 #A038BD
tetradic
#BDA038 #38BD5D #3855BD #BD3898
square
#BDA038 #38BD5D #3855BD #BD3898
split-complementary
#BDA038 #3898BD #5D38BD
monochromatic
#5F501C #8E782A #BDA038 #D0B862 #DECE91

Accessibility & contrast

On white

2.55
#BDA038 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#BDA038 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA038
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA038#FFFFFF#000000##000000
##BDA0381.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D2A
Deuteranopia (green-blind)
#B8A63D
Tritanopia (blue-blind)
#CC938B
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #bda038;
/* rgb */ color: rgb(189, 160, 56);
/* oklch */ color: oklch(71.3% 0.125 93.1);
Tailwind
colors: {
  custom: {
    50: '#d5bb75',
    500: '#bda038',
    950: '#000000',
  },
}
SCSS
$custom: #bda038;
$custom-light: #d5bb75;
$custom-dark: #000000;
JSON
{
  "hex": "#bda038",
  "rgb": {
    "r": 189,
    "g": 160,
    "b": 56
  },
  "hsl": {
    "h": 46.917,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71287,
    "c": 0.12465,
    "h": 93.1
  },
  "luminance": 0.36246
}

Semantic roles & 50–950 ramp

primary
#BDA038
secondary
#8796C9
accent
#6ADE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BDA038

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

Preview Lab → · Contrast checker → · Palette generator →

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