#D2DC4C#D2DC4C

#D2DC4C is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.1% C 0.163 H 113.2°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#D2DC4C
RGBrgb(210, 220, 76)
HSLhsl(64, 67%, 58%)
HSVhsv(64, 65%, 86%)
CMYKcmyk(4.5%, 0%, 65.5%, 13.7%)
CIE-LABlab(84.69, -21.25, 66.67)
CIE-LCHlch(84.69, 69.98, 107.68°)
OKLaboklab(86.08% -0.0643 0.1503)
OKLCHoklch(86.08% 0.163 113.2)
XYZxyz(53.4775, 65.4109, 16.6445)
Luminance0.6541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC4C #564CDC
analogous
#DC9E4C #D2DC4C #8ADC4C
triadic
#D2DC4C #4CD2DC #DC4CD2
tetradic
#D2DC4C #4CDC9E #564CDC #DC4C8A
square
#D2DC4C #4CDC9E #564CDC #DC4C8A
split-complementary
#D2DC4C #4C8ADC #9E4CDC
monochromatic
#89911C #B9C426 #D2DC4C #DFE67F #ECF0B2

Accessibility & contrast

On white

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

On black

14.08
#D2DC4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2DC4C
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2DC4C#FFFFFF#000000##000000
##D2DC4C1.001.4914.0814.08
#FFFFFF1.491.0021.0021.00
#00000014.0821.001.001.00
##00000014.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD238
Deuteranopia (green-blind)
#ECD556
Tritanopia (blue-blind)
#DFCFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc4c;
/* rgb */ color: rgb(210, 220, 76);
/* oklch */ color: oklch(86.1% 0.163 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e685',
    500: '#d2dc4c',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc4c;
$custom-light: #e3e685;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc4c",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 76
  },
  "hsl": {
    "h": 64.167,
    "s": 67.29,
    "l": 58.039
  },
  "oklch": {
    "l": 0.86075,
    "c": 0.16346,
    "h": 113.2
  },
  "luminance": 0.6541
}

Semantic roles & 50–950 ramp

primary
#D2DC4C
secondary
#3D3696
accent
#3EEA4A
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DC4C

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

Preview Lab → · Contrast checker → · Palette generator →

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