#D2CC50#D2CC50

#D2CC50 is a very light, vivid yellow. Relative luminance 0.575; OKLCH L 82.7% C 0.144 H 106.5°. Best body text is #000000 at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#D2CC50
RGBrgb(210, 204, 80)
HSLhsl(57, 59%, 57%)
HSVhsv(57, 62%, 82%)
CMYKcmyk(0%, 2.9%, 61.9%, 17.6%)
CIE-LABlab(80.44, -13.09, 60.59)
CIE-LCHlch(80.44, 61.99, 102.19°)
OKLaboklab(82.69% -0.0409 0.138)
OKLCHoklch(82.69% 0.144 106.5)
XYZxyz(49.6209, 57.4682, 16.0665)
Luminance0.5747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CC50 #5056D2
analogous
#D28B50 #D2CC50 #97D250
triadic
#D2CC50 #50D2CC #CC50D2
tetradic
#D2CC50 #50D28B #5056D2 #D25097
square
#D2CC50 #50D28B #5056D2 #D25097
split-complementary
#D2CC50 #5097D2 #8B50D2
monochromatic
#858122 #B6B02F #D2CC50 #DFDA81 #EBE8B1

Accessibility & contrast

On white

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

On black

12.49
#D2CC50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CC50
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CC50#FFFFFF#000000##000000
##D2CC501.001.6812.4912.49
#FFFFFF1.681.0021.0021.00
#00000012.4921.001.001.00
##00000012.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC541
Deuteranopia (green-blind)
#DFCA57
Tritanopia (blue-blind)
#E0BFB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cc50;
/* rgb */ color: rgb(210, 204, 80);
/* oklch */ color: oklch(82.7% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e3db86',
    500: '#d2cc50',
    950: '#000000',
  },
}
SCSS
$custom: #d2cc50;
$custom-light: #e3db86;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cc50",
  "rgb": {
    "r": 210,
    "g": 204,
    "b": 80
  },
  "hsl": {
    "h": 57.231,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82688,
    "c": 0.14395,
    "h": 106.5
  },
  "luminance": 0.57467
}

Semantic roles & 50–950 ramp

primary
#D2CC50
secondary
#3A3E8C
accent
#4DE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D2CC50

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

Preview Lab → · Contrast checker → · Palette generator →

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