#D3CD48#D3CD48

#D3CD48 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 82.9% C 0.151 H 106.7°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#D3CD48
RGBrgb(211, 205, 72)
HSLhsl(57, 61%, 55%)
HSVhsv(57, 66%, 83%)
CMYKcmyk(0%, 2.8%, 65.9%, 17.3%)
CIE-LABlab(80.73, -13.66, 64.19)
CIE-LCHlch(80.73, 65.62, 102.02°)
OKLaboklab(82.92% -0.0434 0.1444)
OKLCHoklch(82.92% 0.151 106.7)
XYZxyz(49.8668, 57.9811, 14.6943)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CD48 #484ED3
analogous
#D38748 #D3CD48 #93D348
triadic
#D3CD48 #48D3CD #CD48D3
tetradic
#D3CD48 #48D387 #484ED3 #D34893
square
#D3CD48 #48D387 #484ED3 #D34893
split-complementary
#D3CD48 #4893D3 #8748D3
monochromatic
#817D1F #B3AD2B #D3CD48 #DFDA79 #EBE8AB

Accessibility & contrast

On white

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

On black

12.60
#D3CD48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CD48
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CD48#FFFFFF#000000##000000
##D3CD481.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC536
Deuteranopia (green-blind)
#E1CB51
Tritanopia (blue-blind)
#E2C0B2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d3cd48;
/* rgb */ color: rgb(211, 205, 72);
/* oklch */ color: oklch(82.9% 0.151 106.7);
Tailwind
colors: {
  custom: {
    50: '#e4dc82',
    500: '#d3cd48',
    950: '#000000',
  },
}
SCSS
$custom: #d3cd48;
$custom-light: #e4dc82;
$custom-dark: #000000;
JSON
{
  "hex": "#d3cd48",
  "rgb": {
    "r": 211,
    "g": 205,
    "b": 72
  },
  "hsl": {
    "h": 57.41,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.82916,
    "c": 0.15077,
    "h": 106.7
  },
  "luminance": 0.57979
}

Semantic roles & 50–950 ramp

primary
#D3CD48
secondary
#373A89
accent
#4AE443
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3CD48

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

Preview Lab → · Contrast checker → · Palette generator →

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