#D2D247#D2D247

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

Color values

HEX#D2D247
RGBrgb(210, 210, 71)
HSLhsl(60, 61%, 55%)
HSVhsv(60, 66%, 82%)
CMYKcmyk(0%, 0%, 66.2%, 17.6%)
CIE-LABlab(81.97, -16.63, 65.82)
CIE-LCHlch(81.97, 67.89, 104.18°)
OKLaboklab(83.89% -0.0519 0.1477)
OKLCHoklch(83.89% 0.157 109.3)
XYZxyz(50.7640, 60.2512, 14.9156)
Luminance0.6025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D247 #4747D2
analogous
#D28C47 #D2D247 #8CD247
triadic
#D2D247 #47D2D2 #D247D2
tetradic
#D2D247 #47D28C #4747D2 #D2478C
square
#D2D247 #47D28C #4747D2 #D2478C
split-complementary
#D2D247 #478CD2 #8C47D2
monochromatic
#7F7F1F #B1B12B #D2D247 #DEDE78 #EAEAA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D247#FFFFFF#000000##000000
##D2D2471.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)
#E2C933
Deuteranopia (green-blind)
#E4CE50
Tritanopia (blue-blind)
#E0C5B6
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d247;
/* rgb */ color: rgb(210, 210, 71);
/* oklch */ color: oklch(83.9% 0.157 109.3);
Tailwind
colors: {
  custom: {
    50: '#e3df82',
    500: '#d2d247',
    950: '#000000',
  },
}
SCSS
$custom: #d2d247;
$custom-light: #e3df82;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d247",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 71
  },
  "hsl": {
    "h": 60,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.83888,
    "c": 0.15653,
    "h": 109.3
  },
  "luminance": 0.6025
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D247

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

Preview Lab → · Contrast checker → · Palette generator →

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