#D3BB42#D3BB42

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

Color values

HEX#D3BB42
RGBrgb(211, 187, 66)
HSLhsl(50, 62%, 54%)
HSVhsv(50, 69%, 83%)
CMYKcmyk(0%, 11.4%, 68.7%, 17.3%)
CIE-LABlab(75.94, -4.80, 61.67)
CIE-LCHlch(75.94, 61.86, 94.45°)
OKLaboklab(79.1% -0.019 0.1381)
OKLCHoklch(79.1% 0.139 97.8)
XYZxyz(45.6198, 49.7851, 12.3597)
Luminance0.4978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3BB42 #425AD3
analogous
#D37342 #D3BB42 #A3D342
triadic
#D3BB42 #42D3BB #BB42D3
tetradic
#D3BB42 #42D373 #425AD3 #D342A3
square
#D3BB42 #42D373 #425AD3 #D342A3
split-complementary
#D3BB42 #42A3D3 #7342D3
monochromatic
#7D6D1D #AF9929 #D3BB42 #DFCD74 #EADFA5

Accessibility & contrast

On white

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

On black

10.96
#D3BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3BB42
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3BB42#FFFFFF#000000##000000
##D3BB421.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d3bb42;
/* rgb */ color: rgb(211, 187, 66);
/* oklch */ color: oklch(79.1% 0.139 97.8);
Tailwind
colors: {
  custom: {
    50: '#e4cf7d',
    500: '#d3bb42',
    950: '#000000',
  },
}
SCSS
$custom: #d3bb42;
$custom-light: #e4cf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3bb42",
  "rgb": {
    "r": 211,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 50.069,
    "s": 62.232,
    "l": 54.314
  },
  "oklch": {
    "l": 0.79096,
    "c": 0.13938,
    "h": 97.8
  },
  "luminance": 0.49783
}

Semantic roles & 50–950 ramp

primary
#D3BB42
secondary
#9AA4D7
accent
#5DE542
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D3BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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