#D2D454#D2D454

#D2D454 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.4% C 0.149 H 110.1°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#D2D454
RGBrgb(210, 212, 84)
HSLhsl(61, 60%, 58%)
HSVhsv(61, 60%, 83%)
CMYKcmyk(0.9%, 0%, 60.4%, 16.9%)
CIE-LABlab(82.61, -16.83, 61.24)
CIE-LCHlch(82.61, 63.51, 105.36°)
OKLaboklab(84.43% -0.0511 0.1399)
OKLCHoklch(84.43% 0.149 110.1)
XYZxyz(51.7236, 61.4300, 17.5183)
Luminance0.6143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D454 #5654D4
analogous
#D49654 #D2D454 #92D454
triadic
#D2D454 #54D2D4 #D454D2
tetradic
#D2D454 #54D496 #5654D4 #D45492
square
#D2D454 #54D496 #5654D4 #D45492
split-complementary
#D2D454 #5492D4 #9654D4
monochromatic
#898B23 #B9BC2F #D2D454 #DFE085 #ECEDB6

Accessibility & contrast

On white

1.58
#D2D454 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#D2D454 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D454
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D454#FFFFFF#000000##000000
##D2D4541.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB45
Deuteranopia (green-blind)
#E5D05C
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d454;
/* rgb */ color: rgb(210, 212, 84);
/* oklch */ color: oklch(84.4% 0.149 110.1);
Tailwind
colors: {
  custom: {
    50: '#e3e189',
    500: '#d2d454',
    950: '#000000',
  },
}
SCSS
$custom: #d2d454;
$custom-light: #e3e189;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d454",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 84
  },
  "hsl": {
    "h": 60.938,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.84427,
    "c": 0.14896,
    "h": 110.1
  },
  "luminance": 0.61429
}

Semantic roles & 50–950 ramp

primary
#D2D454
secondary
#3D3B91
accent
#45E347
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D454

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

Preview Lab → · Contrast checker → · Palette generator →

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