#D1D948#D1D948

#D1D948 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.3% C 0.163 H 112.5°. Best body text is #000000 at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#D1D948
RGBrgb(209, 217, 72)
HSLhsl(63, 66%, 57%)
HSVhsv(63, 67%, 85%)
CMYKcmyk(3.7%, 0%, 66.8%, 14.9%)
CIE-LABlab(83.78, -20.43, 67.25)
CIE-LCHlch(83.78, 70.29, 106.90°)
OKLaboklab(85.32% -0.0624 0.1509)
OKLCHoklch(85.32% 0.163 112.5)
XYZxyz(52.2786, 63.6501, 15.6614)
Luminance0.6365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1D948 #5048D9
analogous
#D99848 #D1D948 #89D948
triadic
#D1D948 #48D1D9 #D948D1
tetradic
#D1D948 #48D998 #5048D9 #D94889
square
#D1D948 #48D998 #5048D9 #D94889
split-complementary
#D1D948 #4889D9 #9848D9
monochromatic
#848A1D #B4BD27 #D1D948 #DEE47B #EAEEAD

Accessibility & contrast

On white

1.53
#D1D948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.73
#D1D948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1D948
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1D948#FFFFFF#000000##000000
##D1D9481.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1d948;
/* rgb */ color: rgb(209, 217, 72);
/* oklch */ color: oklch(85.3% 0.163 112.5);
Tailwind
colors: {
  custom: {
    50: '#e2e483',
    500: '#d1d948',
    950: '#000000',
  },
}
SCSS
$custom: #d1d948;
$custom-light: #e2e483;
$custom-dark: #000000;
JSON
{
  "hex": "#d1d948",
  "rgb": {
    "r": 209,
    "g": 217,
    "b": 72
  },
  "hsl": {
    "h": 63.31,
    "s": 65.611,
    "l": 56.667
  },
  "oklch": {
    "l": 0.85317,
    "c": 0.16327,
    "h": 112.5
  },
  "luminance": 0.63649
}

Semantic roles & 50–950 ramp

primary
#D1D948
secondary
#3A3590
accent
#3FE949
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D1D948

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

Preview Lab → · Contrast checker → · Palette generator →

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