#D2CE52#D2CE52

#D2CE52 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.144 H 107.4°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#D2CE52
RGBrgb(210, 206, 82)
HSLhsl(58, 59%, 57%)
HSVhsv(58, 61%, 82%)
CMYKcmyk(0%, 1.9%, 61%, 17.6%)
CIE-LABlab(80.99, -13.97, 60.34)
CIE-LCHlch(80.99, 61.93, 103.04°)
OKLaboklab(83.13% -0.0432 0.1378)
OKLCHoklch(83.13% 0.144 107.4)
XYZxyz(50.1743, 58.4550, 16.6209)
Luminance0.5845 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CE52 #5256D2
analogous
#D28E52 #D2CE52 #96D252
triadic
#D2CE52 #52D2CE #CE52D2
tetradic
#D2CE52 #52D28E #5256D2 #D25296
square
#D2CE52 #52D28E #5256D2 #D25296
split-complementary
#D2CE52 #5296D2 #8E52D2
monochromatic
#878323 #B7B330 #D2CE52 #DFDC83 #EBEAB3

Accessibility & contrast

On white

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

On black

12.69
#D2CE52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CE52
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CE52#FFFFFF#000000##000000
##D2CE521.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC643
Deuteranopia (green-blind)
#E0CB59
Tritanopia (blue-blind)
#E0C2B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d2ce52;
/* rgb */ color: rgb(210, 206, 82);
/* oklch */ color: oklch(83.1% 0.144 107.4);
Tailwind
colors: {
  custom: {
    50: '#e3dc88',
    500: '#d2ce52',
    950: '#000000',
  },
}
SCSS
$custom: #d2ce52;
$custom-light: #e3dc88;
$custom-dark: #000000;
JSON
{
  "hex": "#d2ce52",
  "rgb": {
    "r": 210,
    "g": 206,
    "b": 82
  },
  "hsl": {
    "h": 58.125,
    "s": 58.716,
    "l": 57.255
  },
  "oklch": {
    "l": 0.83131,
    "c": 0.14436,
    "h": 107.4
  },
  "luminance": 0.58453
}

Semantic roles & 50–950 ramp

primary
#D2CE52
secondary
#3B3E8D
accent
#4BE246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CE52

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

Preview Lab → · Contrast checker → · Palette generator →

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