#D2D754#D2D754

#D2D754 is a very light, vivid yellow. Relative luminance 0.629; OKLCH L 85.1% C 0.152 H 111.3°. Best body text is #000000 at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#D2D754
RGBrgb(210, 215, 84)
HSLhsl(62, 62%, 59%)
HSVhsv(62, 61%, 84%)
CMYKcmyk(2.3%, 0%, 60.9%, 15.7%)
CIE-LABlab(83.41, -18.31, 62.10)
CIE-LCHlch(83.41, 64.75, 106.43°)
OKLaboklab(85.07% -0.0552 0.1418)
OKLCHoklch(85.07% 0.152 111.3)
XYZxyz(52.4805, 62.9438, 17.7706)
Luminance0.6294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D754 #5954D7
analogous
#D79A54 #D2D754 #90D754
triadic
#D2D754 #54D2D7 #D754D2
tetradic
#D2D754 #54D79A #5954D7 #D75490
square
#D2D754 #54D79A #5954D7 #D75490
split-complementary
#D2D754 #5490D7 #9A54D7
monochromatic
#8B8F21 #BBC12D #D2D754 #DFE386 #ECEEB7

Accessibility & contrast

On white

1.55
#D2D754 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.59
#D2D754 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D754
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D754#FFFFFF#000000##000000
##D2D7541.001.5513.5913.59
#FFFFFF1.551.0021.0021.00
#00000013.5921.001.001.00
##00000013.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CE44
Deuteranopia (green-blind)
#E7D25C
Tritanopia (blue-blind)
#DFCBBB
Achromatopsia (no color)
#D0D0D0

Design tokens & code

CSS
--color: #d2d754;
/* rgb */ color: rgb(210, 215, 84);
/* oklch */ color: oklch(85.1% 0.152 111.3);
Tailwind
colors: {
  custom: {
    50: '#e3e38a',
    500: '#d2d754',
    950: '#000000',
  },
}
SCSS
$custom: #d2d754;
$custom-light: #e3e38a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d754",
  "rgb": {
    "r": 210,
    "g": 215,
    "b": 84
  },
  "hsl": {
    "h": 62.29,
    "s": 62.085,
    "l": 58.627
  },
  "oklch": {
    "l": 0.85069,
    "c": 0.15216,
    "h": 111.3
  },
  "luminance": 0.62943
}

Semantic roles & 50–950 ramp

primary
#D2D754
secondary
#3E3B95
accent
#43E549
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D754

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

Preview Lab → · Contrast checker → · Palette generator →

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