#D2D452#D2D452

#D2D452 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#D2D452
RGBrgb(210, 212, 82)
HSLhsl(61, 60%, 58%)
HSVhsv(61, 61%, 83%)
CMYKcmyk(0.9%, 0%, 61.3%, 16.9%)
CIE-LABlab(82.59, -16.96, 62.06)
CIE-LCHlch(82.59, 64.33, 105.28°)
OKLaboklab(84.41% -0.0516 0.1414)
OKLCHoklch(84.41% 0.151 110.1)
XYZxyz(51.6464, 61.3991, 17.1116)
Luminance0.6140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2D452 #5452D4
analogous
#D49552 #D2D452 #91D452
triadic
#D2D452 #52D2D4 #D452D2
tetradic
#D2D452 #52D495 #5452D4 #D45291
square
#D2D452 #52D495 #5452D4 #D45291
split-complementary
#D2D452 #5291D4 #9552D4
monochromatic
#888922 #B8BA2E #D2D452 #DFE083 #EBECB4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2D452#FFFFFF#000000##000000
##D2D4521.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)
#E4CB42
Deuteranopia (green-blind)
#E5CF5A
Tritanopia (blue-blind)
#E0C8B9
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d2d452;
/* rgb */ color: rgb(210, 212, 82);
/* oklch */ color: oklch(84.4% 0.151 110.1);
Tailwind
colors: {
  custom: {
    50: '#e3e188',
    500: '#d2d452',
    950: '#000000',
  },
}
SCSS
$custom: #d2d452;
$custom-light: #e3e188;
$custom-dark: #000000;
JSON
{
  "hex": "#d2d452",
  "rgb": {
    "r": 210,
    "g": 212,
    "b": 82
  },
  "hsl": {
    "h": 60.923,
    "s": 60.185,
    "l": 57.647
  },
  "oklch": {
    "l": 0.84409,
    "c": 0.15053,
    "h": 110.1
  },
  "luminance": 0.61398
}

Semantic roles & 50–950 ramp

primary
#D2D452
secondary
#3C3B90
accent
#44E347
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D2D452

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

Preview Lab → · Contrast checker → · Palette generator →

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