#D2BD2E#D2BD2E

#D2BD2E is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.3% C 0.153 H 100.4°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#D2BD2E
RGBrgb(210, 189, 46)
HSLhsl(52, 65%, 50%)
HSVhsv(52, 78%, 82%)
CMYKcmyk(0%, 10%, 78.1%, 17.6%)
CIE-LABlab(76.25, -7.15, 69.10)
CIE-LCHlch(76.25, 69.47, 95.91°)
OKLaboklab(79.29% -0.0276 0.1502)
OKLCHoklch(79.29% 0.153 100.4)
XYZxyz(45.2713, 50.2963, 9.9078)
Luminance0.5029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BD2E #2E43D2
analogous
#D26B2E #D2BD2E #95D22E
triadic
#D2BD2E #2ED2BD #BD2ED2
tetradic
#D2BD2E #2ED26B #2E43D2 #D22E95
square
#D2BD2E #2ED26B #2E43D2 #D22E95
split-complementary
#D2BD2E #2E95D2 #6B2ED2
monochromatic
#6E6318 #A09023 #D2BD2E #DDCD60 #E8DD93

Accessibility & contrast

On white

1.90
#D2BD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#D2BD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BD2E
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BD2E#FFFFFF#000000##000000
##D2BD2E1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B806
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#E3AFA2
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bd2e;
/* rgb */ color: rgb(210, 189, 46);
/* oklch */ color: oklch(79.3% 0.153 100.4);
Tailwind
colors: {
  custom: {
    50: '#e4d073',
    500: '#d2bd2e',
    950: '#000000',
  },
}
SCSS
$custom: #d2bd2e;
$custom-light: #e4d073;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bd2e",
  "rgb": {
    "r": 210,
    "g": 189,
    "b": 46
  },
  "hsl": {
    "h": 52.317,
    "s": 64.567,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79285,
    "c": 0.15268,
    "h": 100.4
  },
  "luminance": 0.50294
}

Semantic roles & 50–950 ramp

primary
#D2BD2E
secondary
#2D3677
accent
#56E840
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#161309
muted
#85837D

Preview Lab

Preview with #D2BD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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