#D2BC40#D2BC40

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

Color values

HEX#D2BC40
RGBrgb(210, 188, 64)
HSLhsl(51, 62%, 54%)
HSVhsv(51, 70%, 82%)
CMYKcmyk(0%, 10.5%, 69.5%, 17.6%)
CIE-LABlab(76.09, -5.85, 62.60)
CIE-LCHlch(76.09, 62.87, 95.34°)
OKLaboklab(79.19% -0.0221 0.1397)
OKLCHoklch(79.19% 0.141 99)
XYZxyz(45.4891, 50.0404, 12.1122)
Luminance0.5004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC40 #4056D2
analogous
#D27340 #D2BC40 #9FD240
triadic
#D2BC40 #40D2BC #BC40D2
tetradic
#D2BC40 #40D273 #4056D2 #D2409F
square
#D2BC40 #40D273 #4056D2 #D2409F
split-complementary
#D2BC40 #409FD2 #7340D2
monochromatic
#7B6D1D #AC9829 #D2BC40 #DECD72 #E9DFA3

Accessibility & contrast

On white

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

On black

11.01
#D2BC40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC40
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC40#FFFFFF#000000##000000
##D2BC401.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2bc40;
/* rgb */ color: rgb(210, 188, 64);
/* oklch */ color: oklch(79.2% 0.141 99.0);
Tailwind
colors: {
  custom: {
    50: '#e3cf7c',
    500: '#d2bc40',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc40;
$custom-light: #e3cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc40",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 64
  },
  "hsl": {
    "h": 50.959,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79194,
    "c": 0.14146,
    "h": 99
  },
  "luminance": 0.50038
}

Semantic roles & 50–950 ramp

primary
#D2BC40
secondary
#344083
accent
#5BE543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16130A
muted
#85837D

Preview Lab

Preview with #D2BC40

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

Preview Lab → · Contrast checker → · Palette generator →

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