#D2BD3F#D2BD3F

#D2BD3F is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.4% C 0.143 H 99.6°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#D2BD3F
RGBrgb(210, 189, 63)
HSLhsl(51, 62%, 54%)
HSVhsv(51, 70%, 82%)
CMYKcmyk(0%, 10%, 70%, 17.6%)
CIE-LABlab(76.35, -6.42, 63.24)
CIE-LCHlch(76.35, 63.57, 95.80°)
OKLaboklab(79.39% -0.0238 0.1409)
OKLCHoklch(79.39% 0.143 99.6)
XYZxyz(45.6752, 50.4579, 12.0351)
Luminance0.5046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD3F #3F54D2
analogous
#D2733F #D2BD3F #9DD23F
triadic
#D2BD3F #3FD2BD #BD3FD2
tetradic
#D2BD3F #3FD273 #3F54D2 #D23F9D
square
#D2BD3F #3FD273 #3F54D2 #D23F9D
split-complementary
#D2BD3F #3F9DD2 #733FD2
monochromatic
#7A6D1D #AC9928 #D2BD3F #DECE71 #E9DFA2

Accessibility & contrast

On white

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

On black

11.09
#D2BD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BD3F
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BD3F#FFFFFF#000000##000000
##D2BD3F1.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D5C047
Tritanopia (blue-blind)
#E2AFA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bd3f;
/* rgb */ color: rgb(210, 189, 63);
/* oklch */ color: oklch(79.4% 0.143 99.6);
Tailwind
colors: {
  custom: {
    50: '#e4d07b',
    500: '#d2bd3f',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd3f;
$custom-light: #e4d07b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd3f",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 63
  },
  "hsl": {
    "h": 51.429,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.79394,
    "c": 0.14291,
    "h": 99.6
  },
  "luminance": 0.50456
}

Semantic roles & 50–950 ramp

primary
#D2BD3F
secondary
#333F82
accent
#5AE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D2BD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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