#D2BC57#D2BC57

#D2BC57 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.4% C 0.124 H 97.2°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#D2BC57
RGBrgb(210, 188, 87)
HSLhsl(49, 58%, 58%)
HSVhsv(49, 59%, 82%)
CMYKcmyk(0%, 10.5%, 58.6%, 17.6%)
CIE-LABlab(76.29, -4.43, 52.93)
CIE-LCHlch(76.29, 53.11, 94.78°)
OKLaboklab(79.41% -0.0154 0.1226)
OKLCHoklch(79.41% 0.124 97.2)
XYZxyz(46.2837, 50.3583, 16.2971)
Luminance0.5036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2BC57 #576DD2
analogous
#D27E57 #D2BC57 #AAD257
triadic
#D2BC57 #57D2BC #BC57D2
tetradic
#D2BC57 #57D27E #576DD2 #D257AA
square
#D2BC57 #57D27E #576DD2 #D257AA
split-complementary
#D2BC57 #57AAD2 #7E57D2
monochromatic
#8A7825 #BAA232 #D2BC57 #DFCF87 #ECE3B8

Accessibility & contrast

On white

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

On black

11.07
#D2BC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2BC57
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2BC57#FFFFFF#000000##000000
##D2BC571.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB84D
Deuteranopia (green-blind)
#D2BF5C
Tritanopia (blue-blind)
#E1B0A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #d2bc57;
/* rgb */ color: rgb(210, 188, 87);
/* oklch */ color: oklch(79.4% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#e3cf8a',
    500: '#d2bc57',
    950: '#000000',
  },
}
SCSS
$custom: #d2bc57;
$custom-light: #e3cf8a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2bc57",
  "rgb": {
    "r": 210,
    "g": 188,
    "b": 87
  },
  "hsl": {
    "h": 49.268,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.79411,
    "c": 0.12358,
    "h": 97.2
  },
  "luminance": 0.50356
}

Semantic roles & 50–950 ramp

primary
#D2BC57
secondary
#3D4C90
accent
#62E147
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16130C
muted
#84837F

Preview Lab

Preview with #D2BC57

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

Preview Lab → · Contrast checker → · Palette generator →

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