#D3CE40#D3CE40

#D3CE40 is a very light, vivid yellow. Relative luminance 0.584; OKLCH L 83.1% C 0.157 H 107.4°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#D3CE40
RGBrgb(211, 206, 64)
HSLhsl(58, 63%, 54%)
HSVhsv(58, 70%, 83%)
CMYKcmyk(0%, 2.4%, 69.7%, 17.3%)
CIE-LABlab(80.94, -14.59, 67.44)
CIE-LCHlch(80.94, 69.00, 102.21°)
OKLaboklab(83.07% -0.0469 0.1499)
OKLCHoklch(83.07% 0.157 107.4)
XYZxyz(49.8626, 58.3633, 13.4882)
Luminance0.5836 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3CE40 #4045D3
analogous
#D38540 #D3CE40 #8FD340
triadic
#D3CE40 #40D3CE #CE40D3
tetradic
#D3CE40 #40D385 #4045D3 #D3408F
square
#D3CE40 #40D385 #4045D3 #D3408F
split-complementary
#D3CE40 #408FD3 #8540D3
monochromatic
#7C791D #AEA928 #D3CE40 #DEDB72 #EAE8A3

Accessibility & contrast

On white

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

On black

12.67
#D3CE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3CE40
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3CE40#FFFFFF#000000##000000
##D3CE401.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC629
Deuteranopia (green-blind)
#E2CB4A
Tritanopia (blue-blind)
#E2C1B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d3ce40;
/* rgb */ color: rgb(211, 206, 64);
/* oklch */ color: oklch(83.1% 0.157 107.4);
Tailwind
colors: {
  custom: {
    50: '#e4dc7e',
    500: '#d3ce40',
    950: '#000000',
  },
}
SCSS
$custom: #d3ce40;
$custom-light: #e4dc7e;
$custom-dark: #000000;
JSON
{
  "hex": "#d3ce40",
  "rgb": {
    "r": 211,
    "g": 206,
    "b": 64
  },
  "hsl": {
    "h": 57.959,
    "s": 62.553,
    "l": 53.922
  },
  "oklch": {
    "l": 0.83068,
    "c": 0.15707,
    "h": 107.4
  },
  "luminance": 0.58362
}

Semantic roles & 50–950 ramp

primary
#D3CE40
secondary
#333684
accent
#48E642
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D3CE40

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

Preview Lab → · Contrast checker → · Palette generator →

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