#D4DC3F#D4DC3F

#D4DC3F is a very light, vivid yellow. Relative luminance 0.655; OKLCH L 86.1% C 0.171 H 112.4°. Best body text is #000000 at 14.11:1 contrast (WCAG AA passes).

Color values

HEX#D4DC3F
RGBrgb(212, 220, 63)
HSLhsl(63, 69%, 55%)
HSVhsv(63, 71%, 86%)
CMYKcmyk(3.6%, 0%, 71.4%, 13.7%)
CIE-LABlab(84.76, -21.12, 71.53)
CIE-LCHlch(84.76, 74.59, 106.45°)
OKLaboklab(86.14% -0.0653 0.1584)
OKLCHoklch(86.14% 0.171 112.4)
XYZxyz(53.6435, 65.5436, 14.5270)
Luminance0.6554 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DC3F #473FDC
analogous
#DC953F #D4DC3F #86DC3F
triadic
#D4DC3F #3FD4DC #DC3FD4
tetradic
#D4DC3F #3FDC95 #473FDC #DC3F86
square
#D4DC3F #3FDC95 #473FDC #DC3F86
split-complementary
#D4DC3F #3F86DC #953FDC
monochromatic
#828819 #B4BC22 #D4DC3F #E0E573 #EBEFA7

Accessibility & contrast

On white

1.49
#D4DC3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.11
#D4DC3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DC3F
14.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DC3F#FFFFFF#000000##000000
##D4DC3F1.001.4914.1114.11
#FFFFFF1.491.0021.0021.00
#00000014.1121.001.001.00
##00000014.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD221
Deuteranopia (green-blind)
#EDD54B
Tritanopia (blue-blind)
#E2CFBE
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #d4dc3f;
/* rgb */ color: rgb(212, 220, 63);
/* oklch */ color: oklch(86.1% 0.171 112.4);
Tailwind
colors: {
  custom: {
    50: '#e5e67f',
    500: '#d4dc3f',
    950: '#000000',
  },
}
SCSS
$custom: #d4dc3f;
$custom-light: #e5e67f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4dc3f",
  "rgb": {
    "r": 212,
    "g": 220,
    "b": 63
  },
  "hsl": {
    "h": 63.057,
    "s": 69.163,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8614,
    "c": 0.17129,
    "h": 112.4
  },
  "luminance": 0.65542
}

Semantic roles & 50–950 ramp

primary
#D4DC3F
secondary
#36318E
accent
#3CEC45
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4DC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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