#D2CD41#D2CD41

#D2CD41 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.8% C 0.156 H 107.3°. Best body text is #000000 at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#D2CD41
RGBrgb(210, 205, 65)
HSLhsl(58, 62%, 54%)
HSVhsv(58, 69%, 82%)
CMYKcmyk(0%, 2.4%, 69%, 17.6%)
CIE-LABlab(80.60, -14.46, 66.71)
CIE-LCHlch(80.60, 68.26, 102.23°)
OKLaboklab(82.78% -0.0463 0.1486)
OKLCHoklch(82.78% 0.156 107.3)
XYZxyz(49.3656, 57.7476, 13.5460)
Luminance0.5775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD41 #4146D2
analogous
#D28541 #D2CD41 #8FD241
triadic
#D2CD41 #41D2CD #CD41D2
tetradic
#D2CD41 #41D285 #4146D2 #D2418F
square
#D2CD41 #41D285 #4146D2 #D2418F
split-complementary
#D2CD41 #418FD2 #8541D2
monochromatic
#7B781D #ADA829 #D2CD41 #DEDA72 #E9E7A4

Accessibility & contrast

On white

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

On black

12.55
#D2CD41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD41
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD41#FFFFFF#000000##000000
##D2CD411.001.6712.5512.55
#FFFFFF1.671.0021.0021.00
#00000012.5521.001.001.00
##00000012.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC52B
Deuteranopia (green-blind)
#E1CA4B
Tritanopia (blue-blind)
#E1C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd41;
/* rgb */ color: rgb(210, 205, 65);
/* oklch */ color: oklch(82.8% 0.156 107.3);
Tailwind
colors: {
  custom: {
    50: '#e3dc7e',
    500: '#d2cd41',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd41;
$custom-light: #e3dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd41",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 65
  },
  "hsl": {
    "h": 57.931,
    "s": 61.702,
    "l": 53.922
  },
  "oklch": {
    "l": 0.82777,
    "c": 0.15563,
    "h": 107.3
  },
  "luminance": 0.57746
}

Semantic roles & 50–950 ramp

primary
#D2CD41
secondary
#343783
accent
#49E543
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #D2CD41

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

Preview Lab → · Contrast checker → · Palette generator →

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