#D2BC2E#D2BC2E

#D2BC2E is a light, vivid yellow. Relative luminance 0.499; OKLCH L 79.1% C 0.152 H 99.9°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#D2BC2E
RGBrgb(210, 188, 46)
HSLhsl(52, 65%, 50%)
HSVhsv(52, 78%, 82%)
CMYKcmyk(0%, 10.5%, 78.1%, 17.6%)
CIE-LABlab(75.99, -6.64, 68.86)
CIE-LCHlch(75.99, 69.18, 95.51°)
OKLaboklab(79.08% -0.0261 0.1497)
OKLCHoklch(79.08% 0.152 99.9)
XYZxyz(45.0570, 49.8676, 9.8364)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC2E #2E44D2
analogous
#D26A2E #D2BC2E #96D22E
triadic
#D2BC2E #2ED2BC #BC2ED2
tetradic
#D2BC2E #2ED26A #2E44D2 #D22E96
square
#D2BC2E #2ED26A #2E44D2 #D22E96
split-complementary
#D2BC2E #2E96D2 #6A2ED2
monochromatic
#6E6218 #A08F23 #D2BC2E #DDCC60 #E8DC93

Accessibility & contrast

On white

1.91
#D2BC2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#D2BC2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC2E
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC2E#FFFFFF#000000##000000
##D2BC2E1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB707
Deuteranopia (green-blind)
#D5BF39
Tritanopia (blue-blind)
#E3AEA2
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #d2bc2e;
/* rgb */ color: rgb(210, 188, 46);
/* oklch */ color: oklch(79.1% 0.152 99.9);
Tailwind
colors: {
  custom: {
    50: '#e4cf73',
    500: '#d2bc2e',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc2e;
$custom-light: #e4cf73;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc2e",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 46
  },
  "hsl": {
    "h": 51.951,
    "s": 64.567,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79076,
    "c": 0.15192,
    "h": 99.9
  },
  "luminance": 0.49865
}

Semantic roles & 50–950 ramp

primary
#D2BC2E
secondary
#8993D3
accent
#57E840
background
#FEFCF7
surface
#FDF9ED
border
#D5D2C8
text
#161309
muted
#84827B

Preview Lab

Preview with #D2BC2E

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

Preview Lab → · Contrast checker → · Palette generator →

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