#D3BC42#D3BC42

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

Color values

HEX#D3BC42
RGBrgb(211, 188, 66)
HSLhsl(50, 62%, 54%)
HSVhsv(50, 69%, 83%)
CMYKcmyk(0%, 10.9%, 68.7%, 17.3%)
CIE-LABlab(76.20, -5.32, 61.94)
CIE-LCHlch(76.20, 62.17, 94.91°)
OKLaboklab(79.3% -0.0204 0.1386)
OKLCHoklch(79.3% 0.14 98.4)
XYZxyz(45.8327, 50.2109, 12.4307)
Luminance0.5021 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BC42 #4259D3
analogous
#D37442 #D3BC42 #A2D342
triadic
#D3BC42 #42D3BC #BC42D3
tetradic
#D3BC42 #42D374 #4259D3 #D342A2
square
#D3BC42 #42D374 #4259D3 #D342A2
split-complementary
#D3BC42 #42A2D3 #7442D3
monochromatic
#7D6E1D #AF9A29 #D3BC42 #DFCE74 #EADFA5

Accessibility & contrast

On white

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

On black

11.04
#D3BC42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BC42
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BC42#FFFFFF#000000##000000
##D3BC421.001.9011.0411.04
#FFFFFF1.901.0021.0021.00
#00000011.0421.001.001.00
##00000011.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB731
Deuteranopia (green-blind)
#D4BF49
Tritanopia (blue-blind)
#E3AEA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d3bc42;
/* rgb */ color: rgb(211, 188, 66);
/* oklch */ color: oklch(79.3% 0.140 98.4);
Tailwind
colors: {
  custom: {
    50: '#e4cf7d',
    500: '#d3bc42',
    950: '#000000',
  },
}
SCSS
$custom: #d3bc42;
$custom-light: #e4cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bc42",
  "rgb": {
    "r": 211,
    "g": 188,
    "b": 66
  },
  "hsl": {
    "h": 50.483,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79303,
    "c": 0.14014,
    "h": 98.4
  },
  "luminance": 0.50209
}

Semantic roles & 50–950 ramp

primary
#D3BC42
secondary
#344185
accent
#5CE542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D3BC42

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

Preview Lab → · Contrast checker → · Palette generator →

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