#D3CD3F#D3CD3F

#D3CD3F is a very light, vivid yellow. Relative luminance 0.579; OKLCH L 82.8% C 0.157 H 106.9°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#D3CD3F
RGBrgb(211, 205, 63)
HSLhsl(58, 63%, 54%)
HSVhsv(58, 70%, 83%)
CMYKcmyk(0%, 2.8%, 70.1%, 17.3%)
CIE-LABlab(80.67, -14.14, 67.53)
CIE-LCHlch(80.67, 69.00, 101.82°)
OKLaboklab(82.85% -0.0457 0.15)
OKLCHoklch(82.85% 0.157 106.9)
XYZxyz(49.5944, 57.8721, 13.2597)
Luminance0.5787 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD3F #3F45D3
analogous
#D3833F #D3CD3F #8FD33F
triadic
#D3CD3F #3FD3CD #CD3FD3
tetradic
#D3CD3F #3FD383 #3F45D3 #D33F8F
square
#D3CD3F #3FD383 #3F45D3 #D33F8F
split-complementary
#D3CD3F #3F8FD3 #833FD3
monochromatic
#7B771C #ADA828 #D3CD3F #DEDA71 #EAE7A3

Accessibility & contrast

On white

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

On black

12.57
#D3CD3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD3F
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD3F#FFFFFF#000000##000000
##D3CD3F1.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC527
Deuteranopia (green-blind)
#E1CB49
Tritanopia (blue-blind)
#E2C0B1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cd3f;
/* rgb */ color: rgb(211, 205, 63);
/* oklch */ color: oklch(82.8% 0.157 106.9);
Tailwind
colors: {
  custom: {
    50: '#e4dc7d',
    500: '#d3cd3f',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd3f;
$custom-light: #e4dc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd3f",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 63
  },
  "hsl": {
    "h": 57.568,
    "s": 62.712,
    "l": 53.725
  },
  "oklch": {
    "l": 0.82849,
    "c": 0.15676,
    "h": 106.9
  },
  "luminance": 0.5787
}

Semantic roles & 50–950 ramp

primary
#D3CD3F
secondary
#333683
accent
#49E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3CD3F

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

Preview Lab → · Contrast checker → · Palette generator →

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