#D2CD54#D2CD54

#D2CD54 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.142 H 106.9°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D2CD54
RGBrgb(210, 205, 84)
HSLhsl(58, 58%, 58%)
HSVhsv(58, 60%, 82%)
CMYKcmyk(0%, 2.4%, 60%, 17.6%)
CIE-LABlab(80.74, -13.33, 59.21)
CIE-LCHlch(80.74, 60.70, 102.69°)
OKLaboklab(82.94% -0.0412 0.1356)
OKLCHoklch(82.94% 0.142 106.9)
XYZxyz(50.0115, 58.0059, 16.9476)
Luminance0.5800 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD54 #5459D2
analogous
#D28E54 #D2CD54 #98D254
triadic
#D2CD54 #54D2CD #CD54D2
tetradic
#D2CD54 #54D28E #5459D2 #D25498
square
#D2CD54 #54D28E #5459D2 #D25498
split-complementary
#D2CD54 #5498D2 #8E54D2
monochromatic
#888424 #B8B331 #D2CD54 #DFDB84 #EBE9B5

Accessibility & contrast

On white

1.67
#D2CD54 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#D2CD54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD54
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD54#FFFFFF#000000##000000
##D2CD541.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC646
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#E0C1B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd54;
/* rgb */ color: rgb(210, 205, 84);
/* oklch */ color: oklch(82.9% 0.142 106.9);
Tailwind
colors: {
  custom: {
    50: '#e3dc89',
    500: '#d2cd54',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd54;
$custom-light: #e3dc89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd54",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 84
  },
  "hsl": {
    "h": 57.619,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.82938,
    "c": 0.14175,
    "h": 106.9
  },
  "luminance": 0.58004
}

Semantic roles & 50–950 ramp

primary
#D2CD54
secondary
#3C3F8E
accent
#4CE246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD54

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

Preview Lab → · Contrast checker → · Palette generator →

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