#D3DF52#D3DF52

#D3DF52 is a very light, vivid yellow. Relative luminance 0.672; OKLCH L 86.9% C 0.162 H 113.9°. Best body text is #000000 at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#D3DF52
RGBrgb(211, 223, 82)
HSLhsl(65, 69%, 60%)
HSVhsv(65, 63%, 87%)
CMYKcmyk(5.4%, 0%, 63.2%, 12.5%)
CIE-LABlab(85.62, -21.94, 65.30)
CIE-LCHlch(85.62, 68.88, 108.57°)
OKLaboklab(86.85% -0.0657 0.1482)
OKLCHoklch(86.85% 0.162 113.9)
XYZxyz(54.7760, 67.2344, 18.0730)
Luminance0.6723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3DF52 #5E52DF
analogous
#DFA452 #D3DF52 #8DDF52
triadic
#D3DF52 #52D3DF #DF52D3
tetradic
#D3DF52 #52DFA4 #5E52DF #DF528D
square
#D3DF52 #52DFA4 #5E52DF #DF528D
split-complementary
#D3DF52 #528DDF #A452DF
monochromatic
#8F9A1D #BFCE26 #D3DF52 #E0E986 #EDF2B9

Accessibility & contrast

On white

1.45
#D3DF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.45
#D3DF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3DF52
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3DF52#FFFFFF#000000##000000
##D3DF521.001.4514.4514.45
#FFFFFF1.451.0021.0021.00
#00000014.4521.001.001.00
##00000014.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EED540
Deuteranopia (green-blind)
#EED75B
Tritanopia (blue-blind)
#E0D3C2
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d3df52;
/* rgb */ color: rgb(211, 223, 82);
/* oklch */ color: oklch(86.9% 0.162 113.9);
Tailwind
colors: {
  custom: {
    50: '#e4e889',
    500: '#d3df52',
    950: '#000000',
  },
}
SCSS
$custom: #d3df52;
$custom-light: #e4e889;
$custom-dark: #000000;
JSON
{
  "hex": "#d3df52",
  "rgb": {
    "r": 211,
    "g": 223,
    "b": 82
  },
  "hsl": {
    "h": 65.106,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.8685,
    "c": 0.16212,
    "h": 113.9
  },
  "luminance": 0.67233
}

Semantic roles & 50–950 ramp

primary
#D3DF52
secondary
#40379E
accent
#3CEC4B
background
#FEFEFC
surface
#FDFCF4
border
#D5D5CE
text
#16160C
muted
#84847F

Preview Lab

Preview with #D3DF52

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

Preview Lab → · Contrast checker → · Palette generator →

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