#D2BC3E#D2BC3E

#D2BC3E is a light, vivid yellow. Relative luminance 0.500; OKLCH L 79.2% C 0.143 H 99.1°. Best body text is #000000 at 11.00:1 contrast (WCAG AA passes).

Color values

HEX#D2BC3E
RGBrgb(210, 188, 62)
HSLhsl(51, 62%, 53%)
HSVhsv(51, 70%, 82%)
CMYKcmyk(0%, 10.5%, 70.5%, 17.6%)
CIE-LABlab(76.08, -5.95, 63.36)
CIE-LCHlch(76.08, 63.64, 95.37°)
OKLaboklab(79.18% -0.0226 0.141)
OKLCHoklch(79.18% 0.143 99.1)
XYZxyz(45.4332, 50.0181, 11.8178)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC3E #3E54D2
analogous
#D2723E #D2BC3E #9ED23E
triadic
#D2BC3E #3ED2BC #BC3ED2
tetradic
#D2BC3E #3ED272 #3E54D2 #D23E9E
square
#D2BC3E #3ED272 #3E54D2 #D23E9E
split-complementary
#D2BC3E #3E9ED2 #723ED2
monochromatic
#796B1C #AB9728 #D2BC3E #DECD70 #E9DEA1

Accessibility & contrast

On white

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

On black

11.00
#D2BC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC3E
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC3E#FFFFFF#000000##000000
##D2BC3E1.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72B
Deuteranopia (green-blind)
#D4BF46
Tritanopia (blue-blind)
#E2AEA3
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bc3e;
/* rgb */ color: rgb(210, 188, 62);
/* oklch */ color: oklch(79.2% 0.143 99.1);
Tailwind
colors: {
  custom: {
    50: '#e4cf7b',
    500: '#d2bc3e',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc3e;
$custom-light: #e4cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc3e",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 62
  },
  "hsl": {
    "h": 51.081,
    "s": 62.185,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79179,
    "c": 0.14278,
    "h": 99.1
  },
  "luminance": 0.50016
}

Semantic roles & 50–950 ramp

primary
#D2BC3E
secondary
#333F81
accent
#5BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D2BC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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