#D3CD51#D3CD51

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

Color values

HEX#D3CD51
RGBrgb(211, 205, 81)
HSLhsl(57, 60%, 57%)
HSVhsv(57, 62%, 83%)
CMYKcmyk(0%, 2.8%, 61.6%, 17.3%)
CIE-LABlab(80.80, -13.12, 60.58)
CIE-LCHlch(80.80, 61.98, 102.22°)
OKLaboklab(82.99% -0.0409 0.1381)
OKLCHoklch(82.99% 0.144 106.5)
XYZxyz(50.1822, 58.1072, 16.3554)
Luminance0.5811 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD51 #5157D3
analogous
#D38C51 #D3CD51 #98D351
triadic
#D3CD51 #51D3CD #CD51D3
tetradic
#D3CD51 #51D38C #5157D3 #D35198
square
#D3CD51 #51D38C #5157D3 #D35198
split-complementary
#D3CD51 #5198D3 #8C51D3
monochromatic
#878322 #B8B22F #D3CD51 #DFDB82 #ECE9B3

Accessibility & contrast

On white

1.66
#D3CD51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.62
#D3CD51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD51
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD51#FFFFFF#000000##000000
##D3CD511.001.6612.6212.62
#FFFFFF1.661.0021.0021.00
#00000012.6221.001.001.00
##00000012.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC642
Deuteranopia (green-blind)
#E0CB58
Tritanopia (blue-blind)
#E1C0B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3cd51;
/* rgb */ color: rgb(211, 205, 81);
/* oklch */ color: oklch(83.0% 0.144 106.5);
Tailwind
colors: {
  custom: {
    50: '#e3dc87',
    500: '#d3cd51',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd51;
$custom-light: #e3dc87;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd51",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 81
  },
  "hsl": {
    "h": 57.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.82995,
    "c": 0.14404,
    "h": 106.5
  },
  "luminance": 0.58106
}

Semantic roles & 50–950 ramp

primary
#D3CD51
secondary
#3A3E8E
accent
#4CE345
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CD51

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

Preview Lab → · Contrast checker → · Palette generator →

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