#D2DC4B#D2DC4B

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

Color values

HEX#D2DC4B
RGBrgb(210, 220, 75)
HSLhsl(64, 67%, 58%)
HSVhsv(64, 66%, 86%)
CMYKcmyk(4.5%, 0%, 65.9%, 13.7%)
CIE-LABlab(84.69, -21.31, 67.05)
CIE-LCHlch(84.69, 70.36, 107.63°)
OKLaboklab(86.07% -0.0646 0.1509)
OKLCHoklch(86.07% 0.164 113.2)
XYZxyz(53.4430, 65.3971, 16.4629)
Luminance0.6540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2DC4B #554BDC
analogous
#DC9D4B #D2DC4B #89DC4B
triadic
#D2DC4B #4BD2DC #DC4BD2
tetradic
#D2DC4B #4BDC9D #554BDC #DC4B89
square
#D2DC4B #4BDC9D #554BDC #DC4B89
split-complementary
#D2DC4B #4B89DC #9D4BDC
monochromatic
#88911C #B9C426 #D2DC4B #DFE67E #ECF0B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2DC4B#FFFFFF#000000##000000
##D2DC4B1.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)
#ECD236
Deuteranopia (green-blind)
#ECD555
Tritanopia (blue-blind)
#E0CFBF
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d2dc4b;
/* rgb */ color: rgb(210, 220, 75);
/* oklch */ color: oklch(86.1% 0.164 113.2);
Tailwind
colors: {
  custom: {
    50: '#e3e685',
    500: '#d2dc4b',
    950: '#000000',
  },
}
SCSS
$custom: #d2dc4b;
$custom-light: #e3e685;
$custom-dark: #000000;
JSON
{
  "hex": "#d2dc4b",
  "rgb": {
    "r": 210,
    "g": 220,
    "b": 75
  },
  "hsl": {
    "h": 64.138,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.86067,
    "c": 0.16416,
    "h": 113.2
  },
  "luminance": 0.65396
}

Semantic roles & 50–950 ramp

primary
#D2DC4B
secondary
#3C3696
accent
#3DEA49
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2DC4B

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

Preview Lab → · Contrast checker → · Palette generator →

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