#D2CC41#D2CC41

#D2CC41 is a very light, vivid yellow. Relative luminance 0.573; OKLCH L 82.6% C 0.155 H 106.9°. Best body text is #000000 at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#D2CC41
RGBrgb(210, 204, 65)
HSLhsl(58, 62%, 54%)
HSVhsv(58, 69%, 82%)
CMYKcmyk(0%, 2.9%, 69%, 17.6%)
CIE-LABlab(80.33, -13.96, 66.44)
CIE-LCHlch(80.33, 67.89, 101.86°)
OKLaboklab(82.57% -0.0449 0.148)
OKLCHoklch(82.57% 0.155 106.9)
XYZxyz(49.1272, 57.2707, 13.4665)
Luminance0.5727 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC41 #4147D2
analogous
#D28441 #D2CC41 #90D241
triadic
#D2CC41 #41D2CC #CC41D2
tetradic
#D2CC41 #41D284 #4147D2 #D24190
square
#D2CC41 #41D284 #4147D2 #D24190
split-complementary
#D2CC41 #4190D2 #8441D2
monochromatic
#7B771D #ADA729 #D2CC41 #DED972 #E9E7A4

Accessibility & contrast

On white

1.69
#D2CC41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.45
#D2CC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC41
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC41#FFFFFF#000000##000000
##D2CC411.001.6912.4512.45
#FFFFFF1.691.0021.0021.00
#00000012.4521.001.001.00
##00000012.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC42B
Deuteranopia (green-blind)
#E0CA4B
Tritanopia (blue-blind)
#E1BFB0
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cc41;
/* rgb */ color: rgb(210, 204, 65);
/* oklch */ color: oklch(82.6% 0.155 106.9);
Tailwind
colors: {
  custom: {
    50: '#e3db7e',
    500: '#d2cc41',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc41;
$custom-light: #e3db7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc41",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 65
  },
  "hsl": {
    "h": 57.517,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82565,
    "c": 0.15468,
    "h": 106.9
  },
  "luminance": 0.57269
}

Semantic roles & 50–950 ramp

primary
#D2CC41
secondary
#343783
accent
#4AE543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #D2CC41

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

Preview Lab → · Contrast checker → · Palette generator →

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