#D2D054#D2D054

#D2D054 is a very light, vivid yellow. Relative luminance 0.595; OKLCH L 83.6% C 0.145 H 108.3°. Best body text is #000000 at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#D2D054
RGBrgb(210, 208, 84)
HSLhsl(59, 58%, 58%)
HSVhsv(59, 60%, 82%)
CMYKcmyk(0%, 1%, 60%, 17.6%)
CIE-LABlab(81.54, -14.84, 60.08)
CIE-LCHlch(81.54, 61.89, 103.87°)
OKLaboklab(83.58% -0.0454 0.1375)
OKLCHoklch(83.58% 0.145 108.3)
XYZxyz(50.7360, 59.4549, 17.1891)
Luminance0.5945 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D054 #5456D2
analogous
#D29154 #D2D054 #95D254
triadic
#D2D054 #54D2D0 #D054D2
tetradic
#D2D054 #54D291 #5456D2 #D25495
square
#D2D054 #54D291 #5456D2 #D25495
split-complementary
#D2D054 #5495D2 #9154D2
monochromatic
#888624 #B8B631 #D2D054 #DFDD84 #EBEBB5

Accessibility & contrast

On white

1.63
#D2D054 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.89
#D2D054 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D054
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D054#FFFFFF#000000##000000
##D2D0541.001.6312.8912.89
#FFFFFF1.631.0021.0021.00
#00000012.8921.001.001.00
##00000012.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C846
Deuteranopia (green-blind)
#E2CD5B
Tritanopia (blue-blind)
#E0C4B6
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d2d054;
/* rgb */ color: rgb(210, 208, 84);
/* oklch */ color: oklch(83.6% 0.145 108.3);
Tailwind
colors: {
  custom: {
    50: '#e3de89',
    500: '#d2d054',
    950: '#000000',
  },
}
SCSS
$custom: #d2d054;
$custom-light: #e3de89;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d054",
  "rgb": {
    "r": 210,
    "g": 208,
    "b": 84
  },
  "hsl": {
    "h": 59.048,
    "s": 58.333,
    "l": 57.647
  },
  "oklch": {
    "l": 0.83575,
    "c": 0.14479,
    "h": 108.3
  },
  "luminance": 0.59453
}

Semantic roles & 50–950 ramp

primary
#D2D054
secondary
#3C3D8E
accent
#49E246
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D054

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

Preview Lab → · Contrast checker → · Palette generator →

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