#BDA138#BDA138

#BDA138 is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.5% C 0.125 H 93.8°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#BDA138
RGBrgb(189, 161, 56)
HSLhsl(47, 54%, 48%)
HSVhsv(47, 70%, 74%)
CMYKcmyk(0%, 14.8%, 70.4%, 25.9%)
CIE-LABlab(66.97, -1.16, 55.97)
CIE-LCHlch(66.97, 55.98, 91.19°)
OKLaboklab(71.5% -0.0084 0.125)
OKLCHoklch(71.5% 0.125 93.8)
XYZxyz(34.4467, 36.5960, 8.9900)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDA138 #3854BD
analogous
#BD5E38 #BDA138 #97BD38
triadic
#BDA138 #38BDA1 #A138BD
tetradic
#BDA138 #38BD5E #3854BD #BD3897
square
#BDA138 #38BD5E #3854BD #BD3897
split-complementary
#BDA138 #3897BD #5E38BD
monochromatic
#5F511C #8E792A #BDA138 #D0B962 #DECE91

Accessibility & contrast

On white

2.52
#BDA138 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#BDA138 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDA138
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDA138#FFFFFF#000000##000000
##BDA1381.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B9A73E
Tritanopia (blue-blind)
#CC948C
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #bda138;
/* rgb */ color: rgb(189, 161, 56);
/* oklch */ color: oklch(71.5% 0.125 93.8);
Tailwind
colors: {
  custom: {
    50: '#d5bc75',
    500: '#bda138',
    950: '#000000',
  },
}
SCSS
$custom: #bda138;
$custom-light: #d5bc75;
$custom-dark: #000000;
JSON
{
  "hex": "#bda138",
  "rgb": {
    "r": 189,
    "g": 161,
    "b": 56
  },
  "hsl": {
    "h": 47.368,
    "s": 54.286,
    "l": 48.039
  },
  "oklch": {
    "l": 0.71496,
    "c": 0.1253,
    "h": 93.8
  },
  "luminance": 0.36594
}

Semantic roles & 50–950 ramp

primary
#BDA138
secondary
#8795C9
accent
#69DE4A
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151109
muted
#83807B

Preview Lab

Preview with #BDA138

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

Preview Lab → · Contrast checker → · Palette generator →

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