#D3CE52#D3CE52

#D3CE52 is a very light, vivid yellow. Relative luminance 0.586; OKLCH L 83.2% C 0.144 H 107.0°. Best body text is #000000 at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#D3CE52
RGBrgb(211, 206, 82)
HSLhsl(58, 59%, 57%)
HSVhsv(58, 61%, 83%)
CMYKcmyk(0%, 2.4%, 61.1%, 17.3%)
CIE-LABlab(81.07, -13.55, 60.45)
CIE-LCHlch(81.07, 61.95, 102.64°)
OKLaboklab(83.22% -0.0421 0.138)
OKLCHoklch(83.22% 0.144 107)
XYZxyz(50.4599, 58.6023, 16.6343)
Luminance0.5860 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CE52 #5257D3
analogous
#D38D52 #D3CE52 #98D352
triadic
#D3CE52 #52D3CE #CE52D3
tetradic
#D3CE52 #52D38D #5257D3 #D35298
square
#D3CE52 #52D38D #5257D3 #D35298
split-complementary
#D3CE52 #5298D3 #8D52D3
monochromatic
#888423 #B9B32F #D3CE52 #DFDC83 #ECEAB4

Accessibility & contrast

On white

1.65
#D3CE52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.72
#D3CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CE52
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CE52#FFFFFF#000000##000000
##D3CE521.001.6512.7212.72
#FFFFFF1.651.0021.0021.00
#00000012.7221.001.001.00
##00000012.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC743
Deuteranopia (green-blind)
#E1CC59
Tritanopia (blue-blind)
#E1C1B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3ce52;
/* rgb */ color: rgb(211, 206, 82);
/* oklch */ color: oklch(83.2% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#e3dc88',
    500: '#d3ce52',
    950: '#000000',
  },
}
SCSS
$custom: #d3ce52;
$custom-light: #e3dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ce52",
  "rgb": {
    "r": 211,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 57.674,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.83216,
    "c": 0.14424,
    "h": 107
  },
  "luminance": 0.58601
}

Semantic roles & 50–950 ramp

primary
#D3CE52
secondary
#3B3E8E
accent
#4BE345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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