#D3D052#D3D052

#D3D052 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.6% C 0.146 H 107.9°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D3D052
RGBrgb(211, 208, 82)
HSLhsl(59, 59%, 57%)
HSVhsv(59, 61%, 83%)
CMYKcmyk(0%, 1.4%, 61.1%, 17.3%)
CIE-LABlab(81.60, -14.56, 61.02)
CIE-LCHlch(81.60, 62.73, 103.42°)
OKLaboklab(83.64% -0.0449 0.1392)
OKLCHoklch(83.64% 0.146 107.9)
XYZxyz(50.9445, 59.5714, 16.7958)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D052 #5255D3
analogous
#D39052 #D3D052 #95D352
triadic
#D3D052 #52D3D0 #D052D3
tetradic
#D3D052 #52D390 #5255D3 #D35295
square
#D3D052 #52D390 #5255D3 #D35295
split-complementary
#D3D052 #5295D3 #9052D3
monochromatic
#888623 #B9B62F #D3D052 #DFDD83 #ECEBB4

Accessibility & contrast

On white

1.63
#D3D052 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D3D052 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D052
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D052#FFFFFF#000000##000000
##D3D0521.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C843
Deuteranopia (green-blind)
#E2CD5A
Tritanopia (blue-blind)
#E1C3B5
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d3d052;
/* rgb */ color: rgb(211, 208, 82);
/* oklch */ color: oklch(83.6% 0.146 107.9);
Tailwind
colors: {
  custom: {
    50: '#e3de88',
    500: '#d3d052',
    950: '#000000',
  },
}
SCSS
$custom: #d3d052;
$custom-light: #e3de88;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d052",
  "rgb": {
    "r": 211,
    "g": 208,
    "b": 82
  },
  "hsl": {
    "h": 58.605,
    "s": 59.447,
    "l": 57.451
  },
  "oklch": {
    "l": 0.8364,
    "c": 0.14625,
    "h": 107.9
  },
  "luminance": 0.5957
}

Semantic roles & 50–950 ramp

primary
#D3D052
secondary
#3B3D8E
accent
#49E345
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16150C
muted
#84847F

Preview Lab

Preview with #D3D052

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

Preview Lab → · Contrast checker → · Palette generator →

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