#D2D254#D2D254

#D2D254 is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.0% C 0.147 H 109.2°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D2D254
RGBrgb(210, 210, 84)
HSLhsl(60, 58%, 58%)
HSVhsv(60, 60%, 82%)
CMYKcmyk(0%, 0%, 60%, 17.6%)
CIE-LABlab(82.07, -15.83, 60.66)
CIE-LCHlch(82.07, 62.69, 104.63°)
OKLaboklab(84% -0.0483 0.1387)
OKLCHoklch(84% 0.147 109.2)
XYZxyz(51.2267, 60.4363, 17.3527)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D254 #5454D2
analogous
#D29354 #D2D254 #93D254
triadic
#D2D254 #54D2D2 #D254D2
tetradic
#D2D254 #54D293 #5454D2 #D25493
square
#D2D254 #54D293 #5454D2 #D25493
split-complementary
#D2D254 #5493D2 #9354D2
monochromatic
#888824 #B8B831 #D2D254 #DFDF84 #EBEBB5

Accessibility & contrast

On white

1.60
#D2D254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D2D254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D254
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D254#FFFFFF#000000##000000
##D2D2541.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA45
Deuteranopia (green-blind)
#E3CE5C
Tritanopia (blue-blind)
#E0C6B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d2d254;
/* rgb */ color: rgb(210, 210, 84);
/* oklch */ color: oklch(84.0% 0.147 109.2);
Tailwind
colors: {
  custom: {
    50: '#e3df89',
    500: '#d2d254',
    950: '#000000',
  },
}
SCSS
$custom: #d2d254;
$custom-light: #e3df89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d254",
  "rgb": {
    "r": 210,
    "g": 210,
    "b": 84
  },
  "hsl": {
    "h": 60,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84001,
    "c": 0.14687,
    "h": 109.2
  },
  "luminance": 0.60435
}

Semantic roles & 50–950 ramp

primary
#D2D254
secondary
#3C3C8E
accent
#46E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D254

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

Preview Lab → · Contrast checker → · Palette generator →

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