#D2CD50#D2CD50

#D2CD50 is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.9% C 0.145 H 107.0°. Best body text is #000000 at 12.59:1 contrast (WCAG AA passes).

Color values

HEX#D2CD50
RGBrgb(210, 205, 80)
HSLhsl(58, 59%, 57%)
HSVhsv(58, 62%, 82%)
CMYKcmyk(0%, 2.4%, 61.9%, 17.6%)
CIE-LABlab(80.71, -13.60, 60.88)
CIE-LCHlch(80.71, 62.38, 102.59°)
OKLaboklab(82.9% -0.0424 0.1386)
OKLCHoklch(82.9% 0.145 107)
XYZxyz(49.8593, 57.9450, 16.1460)
Luminance0.5794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD50 #5055D2
analogous
#D28C50 #D2CD50 #96D250
triadic
#D2CD50 #50D2CD #CD50D2
tetradic
#D2CD50 #50D28C #5055D2 #D25096
square
#D2CD50 #50D28C #5055D2 #D25096
split-complementary
#D2CD50 #5096D2 #8C50D2
monochromatic
#858222 #B6B12F #D2CD50 #DFDB81 #EBE9B1

Accessibility & contrast

On white

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

On black

12.59
#D2CD50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD50
12.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD50#FFFFFF#000000##000000
##D2CD501.001.6712.5912.59
#FFFFFF1.671.0021.0021.00
#00000012.5921.001.001.00
##00000012.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC641
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#E0C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd50;
/* rgb */ color: rgb(210, 205, 80);
/* oklch */ color: oklch(82.9% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#e3dc87',
    500: '#d2cd50',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd50;
$custom-light: #e3dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd50",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 80
  },
  "hsl": {
    "h": 57.692,
    "s": 59.091,
    "l": 56.863
  },
  "oklch": {
    "l": 0.829,
    "c": 0.14495,
    "h": 107
  },
  "luminance": 0.57943
}

Semantic roles & 50–950 ramp

primary
#D2CD50
secondary
#3A3D8C
accent
#4CE246
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2CD50

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

Preview Lab → · Contrast checker → · Palette generator →

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