#D2D55A#D2D55A

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

Color values

HEX#D2D55A
RGBrgb(210, 213, 90)
HSLhsl(61, 59%, 59%)
HSVhsv(61, 58%, 84%)
CMYKcmyk(1.4%, 0%, 57.7%, 16.5%)
CIE-LABlab(82.93, -16.91, 59.02)
CIE-LCHlch(82.93, 61.39, 105.98°)
OKLaboklab(84.7% -0.0507 0.136)
OKLCHoklch(84.7% 0.145 110.4)
XYZxyz(52.2195, 62.0296, 18.8930)
Luminance0.6203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D55A #5D5AD5
analogous
#D59A5A #D2D55A #95D55A
triadic
#D2D55A #5AD2D5 #D55AD2
tetradic
#D2D55A #5AD59A #5D5AD5 #D55A95
square
#D2D55A #5AD59A #5D5AD5 #D55A95
split-complementary
#D2D55A #5A95D5 #9A5AD5
monochromatic
#8D9025 #BDC131 #D2D55A #DFE18B #EDEEBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D55A#FFFFFF#000000##000000
##D2D55A1.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)
#E4CC4C
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#DFC9BB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d55a;
/* rgb */ color: rgb(210, 213, 90);
/* oklch */ color: oklch(84.7% 0.145 110.4);
Tailwind
colors: {
  custom: {
    50: '#e2e18d',
    500: '#d2d55a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d55a;
$custom-light: #e2e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d55a",
  "rgb": {
    "r": 210,
    "g": 213,
    "b": 90
  },
  "hsl": {
    "h": 61.463,
    "s": 59.42,
    "l": 59.412
  },
  "oklch": {
    "l": 0.84699,
    "c": 0.14512,
    "h": 110.4
  },
  "luminance": 0.62028
}

Semantic roles & 50–950 ramp

primary
#D2D55A
secondary
#403E96
accent
#45E349
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D55A

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

Preview Lab → · Contrast checker → · Palette generator →

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