#D4BC38#D4BC38

#D4BC38 is a light, vivid yellow. Relative luminance 0.502; OKLCH L 79.3% C 0.147 H 98.5°. Best body text is #000000 at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#D4BC38
RGBrgb(212, 188, 56)
HSLhsl(51, 64%, 53%)
HSVhsv(51, 74%, 83%)
CMYKcmyk(0%, 11.3%, 73.6%, 16.9%)
CIE-LABlab(76.22, -5.38, 65.79)
CIE-LCHlch(76.22, 66.01, 94.67°)
OKLaboklab(79.32% -0.0217 0.145)
OKLCHoklch(79.32% 0.147 98.5)
XYZxyz(45.8507, 50.2513, 11.0250)
Luminance0.5025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC38 #3850D4
analogous
#D46E38 #D4BC38 #9ED438
triadic
#D4BC38 #38D4BC #BC38D4
tetradic
#D4BC38 #38D46E #3850D4 #D4389E
square
#D4BC38 #38D46E #3850D4 #D4389E
split-complementary
#D4BC38 #389ED4 #6E38D4
monochromatic
#78691A #AA9625 #D4BC38 #DFCD6A #EADE9D

Accessibility & contrast

On white

1.90
#D4BC38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.05
#D4BC38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BC38
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BC38#FFFFFF#000000##000000
##D4BC381.001.9011.0511.05
#FFFFFF1.901.0021.0021.00
#00000011.0521.001.001.00
##00000011.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB721
Deuteranopia (green-blind)
#D5C041
Tritanopia (blue-blind)
#E5AEA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bc38;
/* rgb */ color: rgb(212, 188, 56);
/* oklch */ color: oklch(79.3% 0.147 98.5);
Tailwind
colors: {
  custom: {
    50: '#e5cf78',
    500: '#d4bc38',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc38;
$custom-light: #e5cf78;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc38",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 56
  },
  "hsl": {
    "h": 50.769,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79323,
    "c": 0.14657,
    "h": 98.5
  },
  "luminance": 0.50249
}

Semantic roles & 50–950 ramp

primary
#D4BC38
secondary
#303D80
accent
#5AE740
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161309
muted
#85837D

Preview Lab

Preview with #D4BC38

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

Preview Lab → · Contrast checker → · Palette generator →

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