#D2D45A#D2D45A

#D2D45A is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.5% C 0.144 H 110.0°. Best body text is #000000 at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#D2D45A
RGBrgb(210, 212, 90)
HSLhsl(61, 59%, 59%)
HSVhsv(61, 58%, 83%)
CMYKcmyk(0.9%, 0%, 57.5%, 16.9%)
CIE-LABlab(82.66, -16.41, 58.72)
CIE-LCHlch(82.66, 60.97, 105.61°)
OKLaboklab(84.49% -0.0492 0.1354)
OKLCHoklch(84.49% 0.144 110)
XYZxyz(51.9687, 61.5281, 18.8094)
Luminance0.6153 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D45A #5C5AD4
analogous
#D4995A #D2D45A #95D45A
triadic
#D2D45A #5AD2D4 #D45AD2
tetradic
#D2D45A #5AD499 #5C5AD4 #D45A95
square
#D2D45A #5AD499 #5C5AD4 #D45A95
split-complementary
#D2D45A #5A95D4 #995AD4
monochromatic
#8D8E25 #BDBF32 #D2D45A #DFE18B #ECEDBB

Accessibility & contrast

On white

1.58
#D2D45A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.31
#D2D45A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D45A
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D45A#FFFFFF#000000##000000
##D2D45A1.001.5813.3113.31
#FFFFFF1.581.0021.0021.00
#00000013.3121.001.001.00
##00000013.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CC4D
Deuteranopia (green-blind)
#E5D061
Tritanopia (blue-blind)
#DFC8BA
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d45a;
/* rgb */ color: rgb(210, 212, 90);
/* oklch */ color: oklch(84.5% 0.144 110.0);
Tailwind
colors: {
  custom: {
    50: '#e2e18d',
    500: '#d2d45a',
    950: '#000000',
  },
}
SCSS
$custom: #d2d45a;
$custom-light: #e2e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d45a",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 90
  },
  "hsl": {
    "h": 60.984,
    "s": 58.654,
    "l": 59.216
  },
  "oklch": {
    "l": 0.84486,
    "c": 0.14404,
    "h": 110
  },
  "luminance": 0.61527
}

Semantic roles & 50–950 ramp

primary
#D2D45A
secondary
#3F3E94
accent
#46E249
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D45A

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

Preview Lab → · Contrast checker → · Palette generator →

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