#D2D748#D2D748

#D2D748 is a very light, vivid yellow. Relative luminance 0.628; OKLCH L 85.0% C 0.161 H 111.3°. Best body text is #000000 at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#D2D748
RGBrgb(210, 215, 72)
HSLhsl(62, 64%, 56%)
HSVhsv(62, 67%, 84%)
CMYKcmyk(2.3%, 0%, 66.5%, 15.7%)
CIE-LABlab(83.32, -19.04, 66.81)
CIE-LCHlch(83.32, 69.47, 105.91°)
OKLaboklab(84.97% -0.0585 0.1499)
OKLCHoklch(84.97% 0.161 111.3)
XYZxyz(52.0501, 62.7717, 15.5039)
Luminance0.6277 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D748 #4D48D7
analogous
#D79548 #D2D748 #8BD748
triadic
#D2D748 #48D2D7 #D748D2
tetradic
#D2D748 #48D795 #4D48D7 #D7488B
square
#D2D748 #48D795 #4D48D7 #D7488B
split-complementary
#D2D748 #488BD7 #9548D7
monochromatic
#83871E #B4B929 #D2D748 #DEE27A #EBEDAC

Accessibility & contrast

On white

1.55
#D2D748 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.55
#D2D748 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D748
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D748#FFFFFF#000000##000000
##D2D7481.001.5513.5513.55
#FFFFFF1.551.0021.0021.00
#00000013.5521.001.001.00
##00000013.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE33
Deuteranopia (green-blind)
#E8D152
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d748;
/* rgb */ color: rgb(210, 215, 72);
/* oklch */ color: oklch(85.0% 0.161 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e383',
    500: '#d2d748',
    950: '#000000',
  },
}
SCSS
$custom: #d2d748;
$custom-light: #e3e383;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d748",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 72
  },
  "hsl": {
    "h": 62.098,
    "s": 64.126,
    "l": 56.275
  },
  "oklch": {
    "l": 0.84967,
    "c": 0.16095,
    "h": 111.3
  },
  "luminance": 0.6277
}

Semantic roles & 50–950 ramp

primary
#D2D748
secondary
#39368D
accent
#41E746
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D748

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

Preview Lab → · Contrast checker → · Palette generator →

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