#D3D948#D3D948

#D3D948 is a very light, vivid yellow. Relative luminance 0.639; OKLCH L 85.5% C 0.163 H 111.7°. Best body text is #000000 at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#D3D948
RGBrgb(211, 217, 72)
HSLhsl(62, 66%, 57%)
HSVhsv(62, 67%, 85%)
CMYKcmyk(2.8%, 0%, 66.8%, 14.9%)
CIE-LABlab(83.94, -19.61, 67.45)
CIE-LCHlch(83.94, 70.25, 106.21°)
OKLaboklab(85.48% -0.0602 0.1513)
OKLCHoklch(85.48% 0.163 111.7)
XYZxyz(52.8481, 63.9437, 15.6881)
Luminance0.6394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D3D948 #4E48D9
analogous
#D99748 #D3D948 #8BD948
triadic
#D3D948 #48D3D9 #D948D3
tetradic
#D3D948 #48D997 #4E48D9 #D9488B
square
#D3D948 #48D997 #4E48D9 #D9488B
split-complementary
#D3D948 #488BD9 #9748D9
monochromatic
#858A1D #B6BD27 #D3D948 #DFE47B #EBEEAD

Accessibility & contrast

On white

1.52
#D3D948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.79
#D3D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D3D948
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D3D948#FFFFFF#000000##000000
##D3D9481.001.5213.7913.79
#FFFFFF1.521.0021.0021.00
#00000013.7921.001.001.00
##00000013.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9CF32
Deuteranopia (green-blind)
#EAD352
Tritanopia (blue-blind)
#E1CCBC
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #d3d948;
/* rgb */ color: rgb(211, 217, 72);
/* oklch */ color: oklch(85.5% 0.163 111.7);
Tailwind
colors: {
  custom: {
    50: '#e4e483',
    500: '#d3d948',
    950: '#000000',
  },
}
SCSS
$custom: #d3d948;
$custom-light: #e4e483;
$custom-dark: #000000;
JSON
{
  "hex": "#d3d948",
  "rgb": {
    "r": 211,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 62.483,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85477,
    "c": 0.16279,
    "h": 111.7
  },
  "luminance": 0.63942
}

Semantic roles & 50–950 ramp

primary
#D3D948
secondary
#393590
accent
#3FE946
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D3D948

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

Preview Lab → · Contrast checker → · Palette generator →

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