#D2BC3F#D2BC3F

#D2BC3F is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.2% C 0.142 H 99.1°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#D2BC3F
RGBrgb(210, 188, 63)
HSLhsl(51, 62%, 54%)
HSVhsv(51, 70%, 82%)
CMYKcmyk(0%, 10.5%, 70%, 17.6%)
CIE-LABlab(76.09, -5.90, 62.98)
CIE-LCHlch(76.09, 63.25, 95.36°)
OKLaboklab(79.19% -0.0224 0.1404)
OKLCHoklch(79.19% 0.142 99.1)
XYZxyz(45.4609, 50.0291, 11.9637)
Luminance0.5003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC3F #3F55D2
analogous
#D2723F #D2BC3F #9FD23F
triadic
#D2BC3F #3FD2BC #BC3FD2
tetradic
#D2BC3F #3FD272 #3F55D2 #D23F9F
square
#D2BC3F #3FD272 #3F55D2 #D23F9F
split-complementary
#D2BC3F #3F9FD2 #723FD2
monochromatic
#7A6C1D #AC9828 #D2BC3F #DECD71 #E9DFA2

Accessibility & contrast

On white

1.91
#D2BC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#D2BC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC3F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC3F#FFFFFF#000000##000000
##D2BC3F1.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72C
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#E2AEA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bc3f;
/* rgb */ color: rgb(210, 188, 63);
/* oklch */ color: oklch(79.2% 0.142 99.1);
Tailwind
colors: {
  custom: {
    50: '#e4cf7b',
    500: '#d2bc3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc3f;
$custom-light: #e4cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc3f",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 63
  },
  "hsl": {
    "h": 51.02,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79186,
    "c": 0.14212,
    "h": 99.1
  },
  "luminance": 0.50027
}

Semantic roles & 50–950 ramp

primary
#D2BC3F
secondary
#333F82
accent
#5BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D2BC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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