#D2BD40#D2BD40

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

Color values

HEX#D2BD40
RGBrgb(210, 189, 64)
HSLhsl(51, 62%, 54%)
HSVhsv(51, 70%, 82%)
CMYKcmyk(0%, 10%, 69.5%, 17.6%)
CIE-LABlab(76.36, -6.37, 62.86)
CIE-LCHlch(76.36, 63.18, 95.79°)
OKLaboklab(79.4% -0.0236 0.1403)
OKLCHoklch(79.4% 0.142 99.5)
XYZxyz(45.7035, 50.4691, 12.1836)
Luminance0.5047 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD40 #4055D2
analogous
#D27440 #D2BD40 #9ED240
triadic
#D2BD40 #40D2BD #BD40D2
tetradic
#D2BD40 #40D274 #4055D2 #D2409E
square
#D2BD40 #40D274 #4055D2 #D2409E
split-complementary
#D2BD40 #409ED2 #7440D2
monochromatic
#7B6D1D #AC9929 #D2BD40 #DECE72 #E9DFA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2BD40#FFFFFF#000000##000000
##D2BD401.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)
#CFB82E
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#E2AFA4
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bd40;
/* rgb */ color: rgb(210, 189, 64);
/* oklch */ color: oklch(79.4% 0.142 99.5);
Tailwind
colors: {
  custom: {
    50: '#e3d07c',
    500: '#d2bd40',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd40;
$custom-light: #e3d07c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd40",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 64
  },
  "hsl": {
    "h": 51.37,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79402,
    "c": 0.14225,
    "h": 99.5
  },
  "luminance": 0.50467
}

Semantic roles & 50–950 ramp

primary
#D2BD40
secondary
#343F83
accent
#5AE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D2BD40

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

Preview Lab → · Contrast checker → · Palette generator →

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