#D4DB48#D4DB48

#D4DB48 is a very light, vivid yellow. Relative luminance 0.651; OKLCH L 86.0% C 0.165 H 112.1°. Best body text is #000000 at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#D4DB48
RGBrgb(212, 219, 72)
HSLhsl(63, 67%, 57%)
HSVhsv(63, 67%, 86%)
CMYKcmyk(3.2%, 0%, 67.1%, 14.1%)
CIE-LABlab(84.55, -20.18, 68.10)
CIE-LCHlch(84.55, 71.03, 106.50°)
OKLaboklab(85.99% -0.0618 0.1526)
OKLCHoklch(85.99% 0.165 112.1)
XYZxyz(53.6542, 65.1292, 15.8744)
Luminance0.6513 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB48 #4F48DB
analogous
#DB9948 #D4DB48 #8BDB48
triadic
#D4DB48 #48D4DB #DB48D4
tetradic
#D4DB48 #48DB99 #4F48DB #DB488B
square
#D4DB48 #48DB99 #4F48DB #DB488B
split-complementary
#D4DB48 #488BDB #9948DB
monochromatic
#878D1C #B9C026 #D4DB48 #E0E57B #ECEFAE

Accessibility & contrast

On white

1.50
#D4DB48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.03
#D4DB48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DB48
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DB48#FFFFFF#000000##000000
##D4DB481.001.5014.0314.03
#FFFFFF1.501.0021.0021.00
#00000014.0321.001.001.00
##00000014.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD132
Deuteranopia (green-blind)
#ECD552
Tritanopia (blue-blind)
#E2CEBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d4db48;
/* rgb */ color: rgb(212, 219, 72);
/* oklch */ color: oklch(86.0% 0.165 112.1);
Tailwind
colors: {
  custom: {
    50: '#e5e683',
    500: '#d4db48',
    950: '#000000',
  },
}
SCSS
$custom: #d4db48;
$custom-light: #e5e683;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db48",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 72
  },
  "hsl": {
    "h": 62.857,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.85987,
    "c": 0.16464,
    "h": 112.1
  },
  "luminance": 0.65128
}

Semantic roles & 50–950 ramp

primary
#D4DB48
secondary
#393592
accent
#3EEA46
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4DB48

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

Preview Lab → · Contrast checker → · Palette generator →

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