#D3BB40#D3BB40

#D3BB40 is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.141 H 98.0°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#D3BB40
RGBrgb(211, 187, 64)
HSLhsl(50, 63%, 54%)
HSVhsv(50, 70%, 83%)
CMYKcmyk(0%, 11.4%, 69.7%, 17.3%)
CIE-LABlab(75.92, -4.91, 62.45)
CIE-LCHlch(75.92, 62.65, 94.49°)
OKLaboklab(79.08% -0.0195 0.1394)
OKLCHoklch(79.08% 0.141 98)
XYZxyz(45.5619, 49.7619, 12.0546)
Luminance0.4976 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BB40 #4058D3
analogous
#D37240 #D3BB40 #A2D340
triadic
#D3BB40 #40D3BB #BB40D3
tetradic
#D3BB40 #40D372 #4058D3 #D340A2
square
#D3BB40 #40D372 #4058D3 #D340A2
split-complementary
#D3BB40 #40A2D3 #7240D3
monochromatic
#7C6C1D #AE9828 #D3BB40 #DECD72 #EADEA3

Accessibility & contrast

On white

1.92
#D3BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.95
#D3BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BB40
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BB40#FFFFFF#000000##000000
##D3BB401.001.9210.9510.95
#FFFFFF1.921.0021.0021.00
#00000010.9521.001.001.00
##00000010.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB62E
Deuteranopia (green-blind)
#D4BF47
Tritanopia (blue-blind)
#E3ADA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d3bb40;
/* rgb */ color: rgb(211, 187, 64);
/* oklch */ color: oklch(79.1% 0.141 98.0);
Tailwind
colors: {
  custom: {
    50: '#e4cf7c',
    500: '#d3bb40',
    950: '#000000',
  },
}
SCSS
$custom: #d3bb40;
$custom-light: #e4cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bb40",
  "rgb": {
    "r": 211,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 50.204,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.7908,
    "c": 0.14073,
    "h": 98
  },
  "luminance": 0.4976
}

Semantic roles & 50–950 ramp

primary
#D3BB40
secondary
#98A2D7
accent
#5DE642
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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