#D2D56F#D2D56F

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

Color values

HEX#D2D56F
RGBrgb(210, 213, 111)
HSLhsl(62, 55%, 64%)
HSVhsv(62, 48%, 84%)
CMYKcmyk(1.4%, 0%, 47.9%, 16.5%)
CIE-LABlab(83.15, -15.18, 49.66)
CIE-LCHlch(83.15, 51.93, 107.00°)
OKLaboklab(84.94% -0.0436 0.1179)
OKLCHoklch(84.94% 0.126 110.3)
XYZxyz(53.2429, 62.4390, 24.2830)
Luminance0.6244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D56F #726FD5
analogous
#D5A56F #D2D56F #9FD56F
triadic
#D2D56F #6FD2D5 #D56FD2
tetradic
#D2D56F #6FD5A5 #726FD5 #D56F9F
square
#D2D56F #6FD5A5 #726FD5 #D56F9F
split-complementary
#D2D56F #6F9FD5 #A56FD5
monochromatic
#999C2E #C3C740 #D2D56F #E1E39E #F0F1CE

Accessibility & contrast

On white

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

On black

13.49
#D2D56F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D56F
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D56F#FFFFFF#000000##000000
##D2D56F1.001.5613.4913.49
#FFFFFF1.561.0021.0021.00
#00000013.4921.001.001.00
##00000013.4921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d56f;
/* rgb */ color: rgb(210, 213, 111);
/* oklch */ color: oklch(84.9% 0.126 110.3);
Tailwind
colors: {
  custom: {
    50: '#e2e19b',
    500: '#d2d56f',
    950: '#000000',
  },
}
SCSS
$custom: #d2d56f;
$custom-light: #e2e19b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d56f",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 111
  },
  "hsl": {
    "h": 61.765,
    "s": 54.839,
    "l": 63.529
  },
  "oklch": {
    "l": 0.84942,
    "c": 0.12574,
    "h": 110.3
  },
  "luminance": 0.62438
}

Semantic roles & 50–950 ramp

primary
#D2D56F
secondary
#4A48A1
accent
#23C228
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D56F

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

Preview Lab → · Contrast checker → · Palette generator →

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