#D2CD33#D2CD33

#D2CD33 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.7% C 0.164 H 107.6°. Best body text is #000000 at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#D2CD33
RGBrgb(210, 205, 51)
HSLhsl(58, 64%, 51%)
HSVhsv(58, 76%, 82%)
CMYKcmyk(0%, 2.4%, 75.7%, 17.6%)
CIE-LABlab(80.52, -15.09, 71.41)
CIE-LCHlch(80.52, 72.99, 101.93°)
OKLaboklab(82.69% -0.0494 0.1561)
OKLCHoklch(82.69% 0.164 107.6)
XYZxyz(49.0092, 57.6050, 11.6686)
Luminance0.5760 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD33 #3338D2
analogous
#D27D33 #D2CD33 #87D233
triadic
#D2CD33 #33D2CD #CD33D2
tetradic
#D2CD33 #33D27D #3338D2 #D23387
square
#D2CD33 #33D27D #3338D2 #D23387
split-complementary
#D2CD33 #3387D2 #7D33D2
monochromatic
#726F19 #A4A024 #D2CD33 #DDD965 #E8E697

Accessibility & contrast

On white

1.68
#D2CD33 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.52
#D2CD33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD33
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD33#FFFFFF#000000##000000
##D2CD331.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC50A
Deuteranopia (green-blind)
#E1CA40
Tritanopia (blue-blind)
#E1BFB0
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd33;
/* rgb */ color: rgb(210, 205, 51);
/* oklch */ color: oklch(82.7% 0.164 107.6);
Tailwind
colors: {
  custom: {
    50: '#e4db77',
    500: '#d2cd33',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd33;
$custom-light: #e4db77;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd33",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 51
  },
  "hsl": {
    "h": 58.113,
    "s": 63.855,
    "l": 51.176
  },
  "oklch": {
    "l": 0.82689,
    "c": 0.16369,
    "h": 107.6
  },
  "luminance": 0.57603
}

Semantic roles & 50–950 ramp

primary
#D2CD33
secondary
#2F317A
accent
#46E741
background
#FFFEFB
surface
#FEFBF1
border
#D6D4CB
text
#16150A
muted
#85847D

Preview Lab

Preview with #D2CD33

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

Preview Lab → · Contrast checker → · Palette generator →

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