#D2CC35#D2CC35

#D2CC35 is a very light, vivid yellow. Relative luminance 0.571; OKLCH L 82.5% C 0.162 H 107.1°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#D2CC35
RGBrgb(210, 204, 53)
HSLhsl(58, 64%, 52%)
HSVhsv(58, 75%, 82%)
CMYKcmyk(0%, 2.9%, 74.8%, 17.6%)
CIE-LABlab(80.26, -14.51, 70.54)
CIE-LCHlch(80.26, 72.02, 101.62°)
OKLaboklab(82.49% -0.0476 0.1546)
OKLCHoklch(82.49% 0.162 107.1)
XYZxyz(48.8158, 57.1461, 11.8264)
Luminance0.5714 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC35 #353BD2
analogous
#D27E35 #D2CC35 #8AD235
triadic
#D2CC35 #35D2CC #CC35D2
tetradic
#D2CC35 #35D27E #353BD2 #D2358A
square
#D2CC35 #35D27E #353BD2 #D2358A
split-complementary
#D2CC35 #358AD2 #7E35D2
monochromatic
#73701A #A5A025 #D2CC35 #DDD967 #E8E599

Accessibility & contrast

On white

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

On black

12.43
#D2CC35 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC35
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC35#FFFFFF#000000##000000
##D2CC351.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC412
Deuteranopia (green-blind)
#E0CA41
Tritanopia (blue-blind)
#E1BEAF
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #d2cc35;
/* rgb */ color: rgb(210, 204, 53);
/* oklch */ color: oklch(82.5% 0.162 107.1);
Tailwind
colors: {
  custom: {
    50: '#e4db78',
    500: '#d2cc35',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc35;
$custom-light: #e4db78;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc35",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 53
  },
  "hsl": {
    "h": 57.707,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.82487,
    "c": 0.16174,
    "h": 107.1
  },
  "luminance": 0.57144
}

Semantic roles & 50–950 ramp

primary
#D2CC35
secondary
#30327C
accent
#48E741
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D

Preview Lab

Preview with #D2CC35

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

Preview Lab → · Contrast checker → · Palette generator →

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