#D4DB4A#D4DB4A

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

Color values

HEX#D4DB4A
RGBrgb(212, 219, 74)
HSLhsl(63, 67%, 57%)
HSVhsv(63, 66%, 86%)
CMYKcmyk(3.2%, 0%, 66.2%, 14.1%)
CIE-LABlab(84.56, -20.07, 67.36)
CIE-LCHlch(84.56, 70.28, 106.59°)
OKLaboklab(86% -0.0613 0.1513)
OKLCHoklch(86% 0.163 112.1)
XYZxyz(53.7205, 65.1557, 16.2237)
Luminance0.6515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DB4A #514ADB
analogous
#DB9A4A #D4DB4A #8BDB4A
triadic
#D4DB4A #4AD4DB #DB4AD4
tetradic
#D4DB4A #4ADB9A #514ADB #DB4A8B
square
#D4DB4A #4ADB9A #514ADB #DB4A8B
split-complementary
#D4DB4A #4A8BDB #9A4ADB
monochromatic
#898E1C #BAC126 #D4DB4A #E0E57D #ECEFB0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4DB4A#FFFFFF#000000##000000
##D4DB4A1.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)
#EBD135
Deuteranopia (green-blind)
#ECD554
Tritanopia (blue-blind)
#E2CEBE
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d4db4a;
/* rgb */ color: rgb(212, 219, 74);
/* oklch */ color: oklch(86.0% 0.163 112.1);
Tailwind
colors: {
  custom: {
    50: '#e4e684',
    500: '#d4db4a',
    950: '#000000',
  },
}
SCSS
$custom: #d4db4a;
$custom-light: #e4e684;
$custom-dark: #000000;
JSON
{
  "hex": "#d4db4a",
  "rgb": {
    "r": 212,
    "g": 219,
    "b": 74
  },
  "hsl": {
    "h": 62.897,
    "s": 66.82,
    "l": 57.451
  },
  "oklch": {
    "l": 0.86003,
    "c": 0.16329,
    "h": 112.1
  },
  "luminance": 0.65154
}

Semantic roles & 50–950 ramp

primary
#D4DB4A
secondary
#3A3694
accent
#3EEA46
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4DB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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