#D3D252#D3D252

#D3D252 is a very light, vivid yellow. Relative luminance 0.606; OKLCH L 84.1% C 0.148 H 108.8°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D3D252
RGBrgb(211, 210, 82)
HSLhsl(60, 59%, 57%)
HSVhsv(60, 61%, 83%)
CMYKcmyk(0%, 0.5%, 61.1%, 17.3%)
CIE-LABlab(82.14, -15.55, 61.59)
CIE-LCHlch(82.14, 63.53, 104.17°)
OKLaboklab(84.07% -0.0477 0.1404)
OKLCHoklch(84.07% 0.148 108.8)
XYZxyz(51.4352, 60.5527, 16.9594)
Luminance0.6055 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D252 #5253D3
analogous
#D39252 #D3D252 #93D352
triadic
#D3D252 #52D3D2 #D252D3
tetradic
#D3D252 #52D392 #5253D3 #D35293
square
#D3D252 #52D392 #5253D3 #D35293
split-complementary
#D3D252 #5293D3 #9252D3
monochromatic
#888723 #B9B82F #D3D252 #DFDF83 #ECEBB4

Accessibility & contrast

On white

1.60
#D3D252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.11
#D3D252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D252
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D252#FFFFFF#000000##000000
##D3D2521.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#E4CE5A
Tritanopia (blue-blind)
#E1C5B7
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d3d252;
/* rgb */ color: rgb(211, 210, 82);
/* oklch */ color: oklch(84.1% 0.148 108.8);
Tailwind
colors: {
  custom: {
    50: '#e3df88',
    500: '#d3d252',
    950: '#000000',
  },
}
SCSS
$custom: #d3d252;
$custom-light: #e3df88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d252",
  "rgb": {
    "r": 211,
    "g": 210,
    "b": 82
  },
  "hsl": {
    "h": 59.535,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.84065,
    "c": 0.14829,
    "h": 108.8
  },
  "luminance": 0.60551
}

Semantic roles & 50–950 ramp

primary
#D3D252
secondary
#3B3B8E
accent
#46E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D252

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

Preview Lab → · Contrast checker → · Palette generator →

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