#D2BB3C#D2BB3C

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

Color values

HEX#D2BB3C
RGBrgb(210, 187, 60)
HSLhsl(51, 63%, 53%)
HSVhsv(51, 71%, 82%)
CMYKcmyk(0%, 11%, 71.4%, 17.6%)
CIE-LABlab(75.81, -5.53, 63.85)
CIE-LCHlch(75.81, 64.09, 94.95°)
OKLaboklab(78.96% -0.0216 0.1417)
OKLCHoklch(78.96% 0.143 98.7)
XYZxyz(45.1664, 49.5707, 11.4631)
Luminance0.4957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BB3C #3C53D2
analogous
#D2703C #D2BB3C #9ED23C
triadic
#D2BB3C #3CD2BB #BB3CD2
tetradic
#D2BB3C #3CD270 #3C53D2 #D23C9E
square
#D2BB3C #3CD270 #3C53D2 #D23C9E
split-complementary
#D2BB3C #3C9ED2 #703CD2
monochromatic
#786A1C #AA9627 #D2BB3C #DDCC6E #E9DE9F

Accessibility & contrast

On white

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

On black

10.91
#D2BB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BB3C
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BB3C#FFFFFF#000000##000000
##D2BB3C1.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bb3c;
/* rgb */ color: rgb(210, 187, 60);
/* oklch */ color: oklch(79.0% 0.143 98.7);
Tailwind
colors: {
  custom: {
    50: '#e4cf7a',
    500: '#d2bb3c',
    950: '#000000',
  },
}
SCSS
$custom: #d2bb3c;
$custom-light: #e4cf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bb3c",
  "rgb": {
    "r": 210,
    "g": 187,
    "b": 60
  },
  "hsl": {
    "h": 50.8,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78956,
    "c": 0.14329,
    "h": 98.7
  },
  "luminance": 0.49569
}

Semantic roles & 50–950 ramp

primary
#D2BB3C
secondary
#949ED5
accent
#5BE642
background
#FEFCF7
surface
#FDF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #D2BB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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