#D2D451#D2D451

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

Color values

HEX#D2D451
RGBrgb(210, 212, 81)
HSLhsl(61, 60%, 57%)
HSVhsv(61, 62%, 83%)
CMYKcmyk(0.9%, 0%, 61.8%, 16.9%)
CIE-LABlab(82.58, -17.02, 62.46)
CIE-LCHlch(82.58, 64.74, 105.25°)
OKLaboklab(84.4% -0.0519 0.1421)
OKLCHoklch(84.4% 0.151 110.1)
XYZxyz(51.6086, 61.3840, 16.9127)
Luminance0.6138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D451 #5351D4
analogous
#D49451 #D2D451 #91D451
triadic
#D2D451 #51D2D4 #D451D2
tetradic
#D2D451 #51D494 #5351D4 #D45191
square
#D2D451 #51D494 #5351D4 #D45191
split-complementary
#D2D451 #5191D4 #9451D4
monochromatic
#878922 #B8BA2E #D2D451 #DFE082 #EBECB3

Accessibility & contrast

On white

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

On black

13.28
#D2D451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2D451
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2D451#FFFFFF#000000##000000
##D2D4511.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB41
Deuteranopia (green-blind)
#E5CF59
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d2d451;
/* rgb */ color: rgb(210, 212, 81);
/* oklch */ color: oklch(84.4% 0.151 110.1);
Tailwind
colors: {
  custom: {
    50: '#e3e188',
    500: '#d2d451',
    950: '#000000',
  },
}
SCSS
$custom: #d2d451;
$custom-light: #e3e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d451",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 81
  },
  "hsl": {
    "h": 60.916,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.844,
    "c": 0.1513,
    "h": 110.1
  },
  "luminance": 0.61383
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2D451

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

Preview Lab → · Contrast checker → · Palette generator →

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