#D2BB40#D2BB40

#D2BB40 is a light, vivid yellow. Relative luminance 0.496; OKLCH L 79.0% C 0.141 H 98.4°. Best body text is #000000 at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#D2BB40
RGBrgb(210, 187, 64)
HSLhsl(51, 62%, 54%)
HSVhsv(51, 70%, 82%)
CMYKcmyk(0%, 11%, 69.5%, 17.6%)
CIE-LABlab(75.83, -5.33, 62.33)
CIE-LCHlch(75.83, 62.56, 94.89°)
OKLaboklab(78.99% -0.0206 0.1392)
OKLCHoklch(78.99% 0.141 98.4)
XYZxyz(45.2762, 49.6146, 12.0412)
Luminance0.4961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB40 #4057D2
analogous
#D27240 #D2BB40 #A0D240
triadic
#D2BB40 #40D2BB #BB40D2
tetradic
#D2BB40 #40D272 #4057D2 #D240A0
square
#D2BB40 #40D272 #4057D2 #D240A0
split-complementary
#D2BB40 #40A0D2 #7240D2
monochromatic
#7B6C1D #AC9729 #D2BB40 #DECD72 #E9DEA3

Accessibility & contrast

On white

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

On black

10.92
#D2BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB40
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB40#FFFFFF#000000##000000
##D2BB401.001.9210.9210.92
#FFFFFF1.921.0021.0021.00
#00000010.9221.001.001.00
##00000010.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bb40;
/* rgb */ color: rgb(210, 187, 64);
/* oklch */ color: oklch(79.0% 0.141 98.4);
Tailwind
colors: {
  custom: {
    50: '#e3cf7c',
    500: '#d2bb40',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb40;
$custom-light: #e3cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb40",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 50.548,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.78986,
    "c": 0.14068,
    "h": 98.4
  },
  "luminance": 0.49612
}

Semantic roles & 50–950 ramp

primary
#D2BB40
secondary
#98A2D6
accent
#5CE543
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2BB40

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

Preview Lab → · Contrast checker → · Palette generator →

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