#D2D450#D2D450

#D2D450 is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.4% C 0.152 H 110.1°. Best body text is #000000 at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#D2D450
RGBrgb(210, 212, 80)
HSLhsl(61, 61%, 57%)
HSVhsv(61, 62%, 83%)
CMYKcmyk(0.9%, 0%, 62.3%, 16.9%)
CIE-LABlab(82.58, -17.09, 62.87)
CIE-LCHlch(82.58, 65.15, 105.21°)
OKLaboklab(84.39% -0.0522 0.1428)
OKLCHoklch(84.39% 0.152 110.1)
XYZxyz(51.5714, 61.3691, 16.7167)
Luminance0.6137 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D450 #5250D4
analogous
#D49450 #D2D450 #90D450
triadic
#D2D450 #50D2D4 #D450D2
tetradic
#D2D450 #50D494 #5250D4 #D45090
square
#D2D450 #50D494 #5250D4 #D45090
split-complementary
#D2D450 #5090D4 #9450D4
monochromatic
#878821 #B7B92E #D2D450 #DFE081 #EBECB2

Accessibility & contrast

On white

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

On black

13.27
#D2D450 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D450
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D450#FFFFFF#000000##000000
##D2D4501.001.5813.2713.27
#FFFFFF1.581.0021.0021.00
#00000013.2721.001.001.00
##00000013.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB3F
Deuteranopia (green-blind)
#E5CF58
Tritanopia (blue-blind)
#E0C7B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d450;
/* rgb */ color: rgb(210, 212, 80);
/* oklch */ color: oklch(84.4% 0.152 110.1);
Tailwind
colors: {
  custom: {
    50: '#e3e187',
    500: '#d2d450',
    950: '#000000',
  },
}
SCSS
$custom: #d2d450;
$custom-light: #e3e187;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d450",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 80
  },
  "hsl": {
    "h": 60.909,
    "s": 60.55,
    "l": 57.255
  },
  "oklch": {
    "l": 0.84391,
    "c": 0.15207,
    "h": 110.1
  },
  "luminance": 0.61368
}

Semantic roles & 50–950 ramp

primary
#D2D450
secondary
#3B3A8F
accent
#44E447
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D450

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

Preview Lab → · Contrast checker → · Palette generator →

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