#D2D541#D2D541

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

Color values

HEX#D2D541
RGBrgb(210, 213, 65)
HSLhsl(61, 64%, 55%)
HSVhsv(61, 69%, 84%)
CMYKcmyk(1.4%, 0%, 69.5%, 16.5%)
CIE-LABlab(82.74, -18.43, 68.82)
CIE-LCHlch(82.74, 71.24, 104.99°)
OKLaboklab(84.49% -0.0575 0.153)
OKLCHoklch(84.49% 0.163 110.6)
XYZxyz(51.3284, 61.6732, 14.2003)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D541 #4441D5
analogous
#D58E41 #D2D541 #88D541
triadic
#D2D541 #41D2D5 #D541D2
tetradic
#D2D541 #41D58E #4441D5 #D54188
square
#D2D541 #41D58E #4441D5 #D54188
split-complementary
#D2D541 #4188D5 #8E41D5
monochromatic
#7D7F1C #AFB227 #D2D541 #DEE073 #EAEBA5

Accessibility & contrast

On white

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

On black

13.33
#D2D541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D541
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D541#FFFFFF#000000##000000
##D2D5411.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2d541;
/* rgb */ color: rgb(210, 213, 65);
/* oklch */ color: oklch(84.5% 0.163 110.6);
Tailwind
colors: {
  custom: {
    50: '#e3e17f',
    500: '#d2d541',
    950: '#000000',
  },
}
SCSS
$custom: #d2d541;
$custom-light: #e3e17f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d541",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 65
  },
  "hsl": {
    "h": 61.216,
    "s": 63.793,
    "l": 54.51
  },
  "oklch": {
    "l": 0.84487,
    "c": 0.16346,
    "h": 110.6
  },
  "luminance": 0.61672
}

Semantic roles & 50–950 ramp

primary
#D2D541
secondary
#353487
accent
#41E744
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D2D541

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

Preview Lab → · Contrast checker → · Palette generator →

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