#D2CD47#D2CD47

#D2CD47 is a very light, vivid yellow. Relative luminance 0.578; OKLCH L 82.8% C 0.152 H 107.2°. Best body text is #000000 at 12.56:1 contrast (WCAG AA passes).

Color values

HEX#D2CD47
RGBrgb(210, 205, 71)
HSLhsl(58, 61%, 55%)
HSVhsv(58, 66%, 82%)
CMYKcmyk(0%, 2.4%, 66.2%, 17.6%)
CIE-LABlab(80.64, -14.14, 64.46)
CIE-LCHlch(80.64, 65.99, 102.37°)
OKLaboklab(82.82% -0.0448 0.1448)
OKLCHoklch(82.82% 0.152 107.2)
XYZxyz(49.5488, 57.8208, 14.5105)
Luminance0.5782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2CD47 #474CD2
analogous
#D28847 #D2CD47 #91D247
triadic
#D2CD47 #47D2CD #CD47D2
tetradic
#D2CD47 #47D288 #474CD2 #D24791
square
#D2CD47 #47D288 #474CD2 #D24791
split-complementary
#D2CD47 #4791D2 #8847D2
monochromatic
#7F7C1F #B1AC2B #D2CD47 #DEDA78 #EAE8A9

Accessibility & contrast

On white

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

On black

12.56
#D2CD47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2CD47
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2CD47#FFFFFF#000000##000000
##D2CD471.001.6712.5612.56
#FFFFFF1.671.0021.0021.00
#00000012.5621.001.001.00
##00000012.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC534
Deuteranopia (green-blind)
#E0CB50
Tritanopia (blue-blind)
#E1C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d2cd47;
/* rgb */ color: rgb(210, 205, 71);
/* oklch */ color: oklch(82.8% 0.152 107.2);
Tailwind
colors: {
  custom: {
    50: '#e3dc81',
    500: '#d2cd47',
    950: '#000000',
  },
}
SCSS
$custom: #d2cd47;
$custom-light: #e3dc81;
$custom-dark: #000000;
JSON
{
  "hex": "#d2cd47",
  "rgb": {
    "r": 210,
    "g": 205,
    "b": 71
  },
  "hsl": {
    "h": 57.842,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82823,
    "c": 0.1516,
    "h": 107.2
  },
  "luminance": 0.57819
}

Semantic roles & 50–950 ramp

primary
#D2CD47
secondary
#363987
accent
#4AE444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2CD47

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

Preview Lab → · Contrast checker → · Palette generator →

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