#D4BC2E#D4BC2E

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

Color values

HEX#D4BC2E
RGBrgb(212, 188, 46)
HSLhsl(51, 66%, 51%)
HSVhsv(51, 78%, 83%)
CMYKcmyk(0%, 11.3%, 78.3%, 16.9%)
CIE-LABlab(76.17, -5.77, 69.09)
CIE-LCHlch(76.17, 69.33, 94.78°)
OKLaboklab(79.26% -0.0238 0.1501)
OKLCHoklch(79.26% 0.152 99)
XYZxyz(45.6301, 50.1631, 9.8632)
Luminance0.5016 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4BC2E #2E46D4
analogous
#D4692E #D4BC2E #99D42E
triadic
#D4BC2E #2ED4BC #BC2ED4
tetradic
#D4BC2E #2ED469 #2E46D4 #D42E99
square
#D4BC2E #2ED469 #2E46D4 #D42E99
split-complementary
#D4BC2E #2E99D4 #692ED4
monochromatic
#706417 #A39022 #D4BC2E #DECC61 #E9DD94

Accessibility & contrast

On white

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

On black

11.03
#D4BC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4BC2E
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4BC2E#FFFFFF#000000##000000
##D4BC2E1.001.9011.0311.03
#FFFFFF1.901.0021.0021.00
#00000011.0321.001.001.00
##00000011.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB707
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#E5ADA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d4bc2e;
/* rgb */ color: rgb(212, 188, 46);
/* oklch */ color: oklch(79.3% 0.152 99.0);
Tailwind
colors: {
  custom: {
    50: '#e6cf73',
    500: '#d4bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #d4bc2e;
$custom-light: #e6cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#d4bc2e",
  "rgb": {
    "r": 212,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 51.325,
    "s": 65.873,
    "l": 50.588
  },
  "oklch": {
    "l": 0.79263,
    "c": 0.15194,
    "h": 99
  },
  "luminance": 0.50161
}

Semantic roles & 50–950 ramp

primary
#D4BC2E
secondary
#2D3879
accent
#58E93F
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#171309
muted
#85837D

Preview Lab

Preview with #D4BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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