#D3CD4F#D3CD4F

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

Color values

HEX#D3CD4F
RGBrgb(211, 205, 79)
HSLhsl(57, 60%, 57%)
HSVhsv(57, 63%, 83%)
CMYKcmyk(0%, 2.8%, 62.6%, 17.3%)
CIE-LABlab(80.78, -13.25, 61.40)
CIE-LCHlch(80.78, 62.81, 102.17°)
OKLaboklab(82.98% -0.0415 0.1396)
OKLCHoklch(82.98% 0.146 106.6)
XYZxyz(50.1083, 58.0777, 15.9662)
Luminance0.5808 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD4F #4F55D3
analogous
#D38B4F #D3CD4F #97D34F
triadic
#D3CD4F #4FD3CD #CD4FD3
tetradic
#D3CD4F #4FD38B #4F55D3 #D34F97
square
#D3CD4F #4FD38B #4F55D3 #D34F97
split-complementary
#D3CD4F #4F97D3 #8B4FD3
monochromatic
#868222 #B7B12E #D3CD4F #DFDB80 #EBE9B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D3CD4F#FFFFFF#000000##000000
##D3CD4F1.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)
#DDC63F
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#E2C0B3
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cd4f;
/* rgb */ color: rgb(211, 205, 79);
/* oklch */ color: oklch(83.0% 0.146 106.6);
Tailwind
colors: {
  custom: {
    50: '#e4dc86',
    500: '#d3cd4f',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd4f;
$custom-light: #e4dc86;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd4f",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 79
  },
  "hsl": {
    "h": 57.273,
    "s": 60,
    "l": 56.863
  },
  "oklch": {
    "l": 0.82976,
    "c": 0.1456,
    "h": 106.6
  },
  "luminance": 0.58076
}

Semantic roles & 50–950 ramp

primary
#D3CD4F
secondary
#393D8D
accent
#4CE345
background
#FEFEFC
surface
#FDFBF3
border
#D5D4CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3CD4F

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

Preview Lab → · Contrast checker → · Palette generator →

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