#D2D55C#D2D55C

#D2D55C is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.7% C 0.143 H 110.4°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#D2D55C
RGBrgb(210, 213, 92)
HSLhsl(61, 59%, 60%)
HSVhsv(61, 57%, 84%)
CMYKcmyk(1.4%, 0%, 56.8%, 16.5%)
CIE-LABlab(82.95, -16.76, 58.16)
CIE-LCHlch(82.95, 60.53, 106.07°)
OKLaboklab(84.72% -0.05 0.1344)
OKLCHoklch(84.72% 0.143 110.4)
XYZxyz(52.3057, 62.0641, 19.3474)
Luminance0.6206 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D55C #5F5CD5
analogous
#D59C5C #D2D55C #95D55C
triadic
#D2D55C #5CD2D5 #D55CD2
tetradic
#D2D55C #5CD59C #5F5CD5 #D55C95
square
#D2D55C #5CD59C #5F5CD5 #D55C95
split-complementary
#D2D55C #5C95D5 #9C5CD5
monochromatic
#8F9125 #BEC232 #D2D55C #DFE28D #EDEEBD

Accessibility & contrast

On white

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

On black

13.41
#D2D55C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D55C
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D55C#FFFFFF#000000##000000
##D2D55C1.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CD4F
Deuteranopia (green-blind)
#E5D063
Tritanopia (blue-blind)
#DFC9BB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d2d55c;
/* rgb */ color: rgb(210, 213, 92);
/* oklch */ color: oklch(84.7% 0.143 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e18e',
    500: '#d2d55c',
    950: '#000000',
  },
}
SCSS
$custom: #d2d55c;
$custom-light: #e2e18e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d55c",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 92
  },
  "hsl": {
    "h": 61.488,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8472,
    "c": 0.14342,
    "h": 110.4
  },
  "luminance": 0.62063
}

Semantic roles & 50–950 ramp

primary
#D2D55C
secondary
#413F97
accent
#46E249
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F

Preview Lab

Preview with #D2D55C

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

Preview Lab → · Contrast checker → · Palette generator →

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