#D2D545#D2D545

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

Color values

HEX#D2D545
RGBrgb(210, 213, 69)
HSLhsl(61, 63%, 55%)
HSVhsv(61, 68%, 84%)
CMYKcmyk(1.4%, 0%, 67.6%, 16.5%)
CIE-LABlab(82.76, -18.22, 67.38)
CIE-LCHlch(82.76, 69.80, 105.13°)
OKLaboklab(84.52% -0.0565 0.1507)
OKLCHoklch(84.52% 0.161 110.6)
XYZxyz(51.4484, 61.7212, 14.8323)
Luminance0.6172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D545 #4845D5
analogous
#D59045 #D2D545 #8AD545
triadic
#D2D545 #45D2D5 #D545D2
tetradic
#D2D545 #45D590 #4845D5 #D5458A
square
#D2D545 #45D590 #4845D5 #D5458A
split-complementary
#D2D545 #458AD5 #9045D5
monochromatic
#80821D #B1B429 #D2D545 #DEE077 #EAECA9

Accessibility & contrast

On white

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

On black

13.34
#D2D545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D545
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D545#FFFFFF#000000##000000
##D2D5451.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d545;
/* rgb */ color: rgb(210, 213, 69);
/* oklch */ color: oklch(84.5% 0.161 110.6);
Tailwind
colors: {
  custom: {
    50: '#e3e181',
    500: '#d2d545',
    950: '#000000',
  },
}
SCSS
$custom: #d2d545;
$custom-light: #e3e181;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d545",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 69
  },
  "hsl": {
    "h": 61.25,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84515,
    "c": 0.16091,
    "h": 110.6
  },
  "luminance": 0.6172
}

Semantic roles & 50–950 ramp

primary
#D2D545
secondary
#373589
accent
#42E645
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D545

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

Preview Lab → · Contrast checker → · Palette generator →

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