#D2D248#D2D248

#D2D248 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 83.9% C 0.156 H 109.3°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D2D248
RGBrgb(210, 210, 72)
HSLhsl(60, 61%, 55%)
HSVhsv(60, 66%, 82%)
CMYKcmyk(0%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.98, -16.58, 65.44)
CIE-LCHlch(81.98, 67.51, 104.21°)
OKLaboklab(83.9% -0.0516 0.147)
OKLCHoklch(83.9% 0.156 109.3)
XYZxyz(50.7963, 60.2642, 15.0860)
Luminance0.6026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D248 #4848D2
analogous
#D28D48 #D2D248 #8DD248
triadic
#D2D248 #48D2D2 #D248D2
tetradic
#D2D248 #48D28D #4848D2 #D2488D
square
#D2D248 #48D28D #4848D2 #D2488D
split-complementary
#D2D248 #488DD2 #8D48D2
monochromatic
#808020 #B1B12C #D2D248 #DEDE79 #EAEAAA

Accessibility & contrast

On white

1.61
#D2D248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.05
#D2D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D248
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D248#FFFFFF#000000##000000
##D2D2481.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E4CE51
Tritanopia (blue-blind)
#E0C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d248;
/* rgb */ color: rgb(210, 210, 72);
/* oklch */ color: oklch(83.9% 0.156 109.3);
Tailwind
colors: {
  custom: {
    50: '#e3df82',
    500: '#d2d248',
    950: '#000000',
  },
}
SCSS
$custom: #d2d248;
$custom-light: #e3df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d248",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 60,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83896,
    "c": 0.15584,
    "h": 109.3
  },
  "luminance": 0.60263
}

Semantic roles & 50–950 ramp

primary
#D2D248
secondary
#373787
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D248

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

Preview Lab → · Contrast checker → · Palette generator →

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