#D2D670#D2D670

#D2D670 is a very light, vivid yellow. Relative luminance 0.630; OKLCH L 85.2% C 0.126 H 110.8°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D2D670
RGBrgb(210, 214, 112)
HSLhsl(62, 55%, 64%)
HSVhsv(62, 48%, 84%)
CMYKcmyk(1.9%, 0%, 47.7%, 16.1%)
CIE-LABlab(83.42, -15.59, 49.51)
CIE-LCHlch(83.42, 51.91, 107.48°)
OKLaboklab(85.17% -0.0447 0.1177)
OKLCHoklch(85.17% 0.126 110.8)
XYZxyz(53.5506, 62.9657, 24.6587)
Luminance0.6297 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D670 #7470D6
analogous
#D6A770 #D2D670 #9FD670
triadic
#D2D670 #70D2D6 #D670D2
tetradic
#D2D670 #70D6A7 #7470D6 #D6709F
square
#D2D670 #70D6A7 #7470D6 #D6709F
split-complementary
#D2D670 #709FD6 #A770D6
monochromatic
#9A9E2D #C3C840 #D2D670 #E1E4A0 #F0F1CF

Accessibility & contrast

On white

1.54
#D2D670 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#D2D670 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D670
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D670#FFFFFF#000000##000000
##D2D6701.001.5413.5913.59
#FFFFFF1.541.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CE67
Deuteranopia (green-blind)
#E4D175
Tritanopia (blue-blind)
#DECBBE
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d670;
/* rgb */ color: rgb(210, 214, 112);
/* oklch */ color: oklch(85.2% 0.126 110.8);
Tailwind
colors: {
  custom: {
    50: '#e2e29b',
    500: '#d2d670',
    950: '#000000',
  },
}
SCSS
$custom: #d2d670;
$custom-light: #e2e29b;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d670",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 112
  },
  "hsl": {
    "h": 62.353,
    "s": 55.435,
    "l": 63.922
  },
  "oklch": {
    "l": 0.85168,
    "c": 0.1259,
    "h": 110.8
  },
  "luminance": 0.62965
}

Semantic roles & 50–950 ramp

primary
#D2D670
secondary
#4B48A3
accent
#23C329
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D670

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

Preview Lab → · Contrast checker → · Palette generator →

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