#D2D56C#D2D56C

#D2D56C is a very light, vivid yellow. Relative luminance 0.624; OKLCH L 84.9% C 0.129 H 110.3°. Best body text is #000000 at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#D2D56C
RGBrgb(210, 213, 108)
HSLhsl(62, 56%, 63%)
HSVhsv(62, 49%, 84%)
CMYKcmyk(1.4%, 0%, 49.3%, 16.5%)
CIE-LABlab(83.11, -15.45, 51.04)
CIE-LCHlch(83.11, 53.33, 106.85°)
OKLaboklab(84.9% -0.0447 0.1207)
OKLCHoklch(84.9% 0.129 110.3)
XYZxyz(53.0805, 62.3740, 23.4277)
Luminance0.6237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D56C #6F6CD5
analogous
#D5A36C #D2D56C #9ED56C
triadic
#D2D56C #6CD2D5 #D56CD2
tetradic
#D2D56C #6CD5A3 #6F6CD5 #D56C9E
square
#D2D56C #6CD5A3 #6F6CD5 #D56C9E
split-complementary
#D2D56C #6C9ED5 #A36CD5
monochromatic
#979A2C #C3C73C #D2D56C #E1E39C #EFF0CB

Accessibility & contrast

On white

1.56
#D2D56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.47
#D2D56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D56C
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D56C#FFFFFF#000000##000000
##D2D56C1.001.5613.4713.47
#FFFFFF1.561.0021.0021.00
#00000013.4721.001.001.00
##00000013.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CD62
Deuteranopia (green-blind)
#E4D171
Tritanopia (blue-blind)
#DECABD
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d56c;
/* rgb */ color: rgb(210, 213, 108);
/* oklch */ color: oklch(84.9% 0.129 110.3);
Tailwind
colors: {
  custom: {
    50: '#e2e199',
    500: '#d2d56c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d56c;
$custom-light: #e2e199;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d56c",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 108
  },
  "hsl": {
    "h": 61.714,
    "s": 55.556,
    "l": 62.941
  },
  "oklch": {
    "l": 0.84904,
    "c": 0.12871,
    "h": 110.3
  },
  "luminance": 0.62373
}

Semantic roles & 50–950 ramp

primary
#D2D56C
secondary
#49469F
accent
#22C327
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D56C

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

Preview Lab → · Contrast checker → · Palette generator →

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