#D2BD3C#D2BD3C

#D2BD3C is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.145 H 99.8°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#D2BD3C
RGBrgb(210, 189, 60)
HSLhsl(52, 63%, 53%)
HSVhsv(52, 71%, 82%)
CMYKcmyk(0%, 10%, 71.4%, 17.6%)
CIE-LABlab(76.33, -6.57, 64.36)
CIE-LCHlch(76.33, 64.70, 95.83°)
OKLaboklab(79.37% -0.0246 0.1427)
OKLCHoklch(79.37% 0.145 99.8)
XYZxyz(45.5937, 50.4252, 11.6056)
Luminance0.5042 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD3C #3C51D2
analogous
#D2723C #D2BD3C #9CD23C
triadic
#D2BD3C #3CD2BD #BD3CD2
tetradic
#D2BD3C #3CD272 #3C51D2 #D23C9C
square
#D2BD3C #3CD272 #3C51D2 #D23C9C
split-complementary
#D2BD3C #3C9CD2 #723CD2
monochromatic
#786B1C #AA9727 #D2BD3C #DDCE6E #E9DF9F

Accessibility & contrast

On white

1.89
#D2BD3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.08
#D2BD3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BD3C
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BD3C#FFFFFF#000000##000000
##D2BD3C1.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB827
Deuteranopia (green-blind)
#D5C044
Tritanopia (blue-blind)
#E2AFA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bd3c;
/* rgb */ color: rgb(210, 189, 60);
/* oklch */ color: oklch(79.4% 0.145 99.8);
Tailwind
colors: {
  custom: {
    50: '#e4d07a',
    500: '#d2bd3c',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd3c;
$custom-light: #e4d07a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd3c",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 60
  },
  "hsl": {
    "h": 51.6,
    "s": 62.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.79372,
    "c": 0.14484,
    "h": 99.8
  },
  "luminance": 0.50423
}

Semantic roles & 50–950 ramp

primary
#D2BD3C
secondary
#323D80
accent
#59E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D2BD3C

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

Preview Lab → · Contrast checker → · Palette generator →

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