#D2D747#D2D747

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

Color values

HEX#D2D747
RGBrgb(210, 215, 71)
HSLhsl(62, 64%, 56%)
HSVhsv(62, 67%, 84%)
CMYKcmyk(2.3%, 0%, 67%, 15.7%)
CIE-LABlab(83.32, -19.10, 67.18)
CIE-LCHlch(83.32, 69.84, 105.87°)
OKLaboklab(84.96% -0.0588 0.1506)
OKLCHoklch(84.96% 0.162 111.3)
XYZxyz(52.0177, 62.7587, 15.3335)
Luminance0.6276 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D747 #4C47D7
analogous
#D79447 #D2D747 #8AD747
triadic
#D2D747 #47D2D7 #D747D2
tetradic
#D2D747 #47D794 #4C47D7 #D7478A
square
#D2D747 #47D794 #4C47D7 #D7478A
split-complementary
#D2D747 #478AD7 #9447D7
monochromatic
#83861D #B4B928 #D2D747 #DEE279 #EBEDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D747#FFFFFF#000000##000000
##D2D7471.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)
#E7CE31
Deuteranopia (green-blind)
#E8D151
Tritanopia (blue-blind)
#E0CABA
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d747;
/* rgb */ color: rgb(210, 215, 71);
/* oklch */ color: oklch(85.0% 0.162 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e382',
    500: '#d2d747',
    950: '#000000',
  },
}
SCSS
$custom: #d2d747;
$custom-light: #e3e382;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d747",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 71
  },
  "hsl": {
    "h": 62.083,
    "s": 64.286,
    "l": 56.078
  },
  "oklch": {
    "l": 0.8496,
    "c": 0.16162,
    "h": 111.3
  },
  "luminance": 0.62757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D747

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

Preview Lab → · Contrast checker → · Palette generator →

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