#D2D366#D2D366

#D2D366 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.4% C 0.132 H 109.4°. Best body text is #000000 at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#D2D366
RGBrgb(210, 211, 102)
HSLhsl(61, 55%, 61%)
HSVhsv(61, 52%, 83%)
CMYKcmyk(0.5%, 0%, 51.7%, 17.3%)
CIE-LABlab(82.51, -14.98, 53.14)
CIE-LCHlch(82.51, 55.21, 105.74°)
OKLaboklab(84.41% -0.0439 0.1247)
OKLCHoklch(84.41% 0.132 109.4)
XYZxyz(52.2721, 61.2507, 21.6368)
Luminance0.6125 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D366 #6766D3
analogous
#D39E66 #D2D366 #9CD366
triadic
#D2D366 #66D2D3 #D366D2
tetradic
#D2D366 #66D39E #6766D3 #D3669C
square
#D2D366 #66D39E #6766D3 #D3669C
split-complementary
#D2D366 #669CD3 #9E66D3
monochromatic
#93942B #C2C438 #D2D366 #E0E196 #EEEEC5

Accessibility & contrast

On white

1.58
#D2D366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.25
#D2D366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D366
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D366#FFFFFF#000000##000000
##D2D3661.001.5813.2513.25
#FFFFFF1.581.0021.0021.00
#00000013.2521.001.001.00
##00000013.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1CB5C
Deuteranopia (green-blind)
#E3CF6C
Tritanopia (blue-blind)
#DFC8BA
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d366;
/* rgb */ color: rgb(210, 211, 102);
/* oklch */ color: oklch(84.4% 0.132 109.4);
Tailwind
colors: {
  custom: {
    50: '#e2e095',
    500: '#d2d366',
    950: '#000000',
  },
}
SCSS
$custom: #d2d366;
$custom-light: #e2e095;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d366",
  "rgb": {
    "r": 210,
    "g": 211,
    "b": 102
  },
  "hsl": {
    "h": 60.55,
    "s": 55.33,
    "l": 61.373
  },
  "oklch": {
    "l": 0.84406,
    "c": 0.13223,
    "h": 109.4
  },
  "luminance": 0.61249
}

Semantic roles & 50–950 ramp

primary
#D2D366
secondary
#454499
accent
#23C324
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D366

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

Preview Lab → · Contrast checker → · Palette generator →

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