#D2D672#D2D672

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

Color values

HEX#D2D672
RGBrgb(210, 214, 114)
HSLhsl(62, 55%, 64%)
HSVhsv(62, 47%, 84%)
CMYKcmyk(1.9%, 0%, 46.7%, 16.1%)
CIE-LABlab(83.45, -15.40, 48.58)
CIE-LCHlch(83.45, 50.97, 107.59°)
OKLaboklab(85.19% -0.044 0.1158)
OKLCHoklch(85.19% 0.124 110.8)
XYZxyz(53.6631, 63.0107, 25.2517)
Luminance0.6301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D672 #7672D6
analogous
#D6A872 #D2D672 #A0D672
triadic
#D2D672 #72D2D6 #D672D2
tetradic
#D2D672 #72D6A8 #7672D6 #D672A0
square
#D2D672 #72D6A8 #7672D6 #D672A0
split-complementary
#D2D672 #72A0D6 #A872D6
monochromatic
#9B9F2E #C3C843 #D2D672 #E1E4A1 #F0F2D1

Accessibility & contrast

On white

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

On black

13.60
#D2D672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D672
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D672#FFFFFF#000000##000000
##D2D6721.001.5413.6013.60
#FFFFFF1.541.0021.0021.00
#00000013.6021.001.001.00
##00000013.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CE69
Deuteranopia (green-blind)
#E4D177
Tritanopia (blue-blind)
#DECBBF
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d672;
/* rgb */ color: rgb(210, 214, 114);
/* oklch */ color: oklch(85.2% 0.124 110.8);
Tailwind
colors: {
  custom: {
    50: '#e1e29d',
    500: '#d2d672',
    950: '#000000',
  },
}
SCSS
$custom: #d2d672;
$custom-light: #e1e29d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d672",
  "rgb": {
    "r": 210,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 62.4,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.85194,
    "c": 0.12387,
    "h": 110.8
  },
  "luminance": 0.6301
}

Semantic roles & 50–950 ramp

primary
#D2D672
secondary
#4C49A4
accent
#23C229
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D2D672

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

Preview Lab → · Contrast checker → · Palette generator →

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