#D2D547#D2D547

#D2D547 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.5% C 0.160 H 110.6°. Best body text is #000000 at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#D2D547
RGBrgb(210, 213, 71)
HSLhsl(61, 63%, 56%)
HSVhsv(61, 67%, 84%)
CMYKcmyk(1.4%, 0%, 66.7%, 16.5%)
CIE-LABlab(82.78, -18.11, 66.64)
CIE-LCHlch(82.78, 69.06, 105.21°)
OKLaboklab(84.53% -0.056 0.1494)
OKLCHoklch(84.53% 0.16 110.6)
XYZxyz(51.5116, 61.7464, 15.1648)
Luminance0.6175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D547 #4A47D5
analogous
#D59147 #D2D547 #8BD547
triadic
#D2D547 #47D2D5 #D547D2
tetradic
#D2D547 #47D591 #4A47D5 #D5478B
square
#D2D547 #47D591 #4A47D5 #D5478B
split-complementary
#D2D547 #478BD5 #9147D5
monochromatic
#81841E #B2B529 #D2D547 #DEE079 #EAECAB

Accessibility & contrast

On white

1.57
#D2D547 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.35
#D2D547 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D547
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D547#FFFFFF#000000##000000
##D2D5471.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CC32
Deuteranopia (green-blind)
#E6D051
Tritanopia (blue-blind)
#E0C8B8
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d547;
/* rgb */ color: rgb(210, 213, 71);
/* oklch */ color: oklch(84.5% 0.160 110.6);
Tailwind
colors: {
  custom: {
    50: '#e3e182',
    500: '#d2d547',
    950: '#000000',
  },
}
SCSS
$custom: #d2d547;
$custom-light: #e3e182;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d547",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 71
  },
  "hsl": {
    "h": 61.268,
    "s": 62.832,
    "l": 55.686
  },
  "oklch": {
    "l": 0.8453,
    "c": 0.15957,
    "h": 110.6
  },
  "luminance": 0.61745
}

Semantic roles & 50–950 ramp

primary
#D2D547
secondary
#38368A
accent
#42E645
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D547

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

Preview Lab → · Contrast checker → · Palette generator →

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