#D4DA31#D4DA31

#D4DA31 is a very light, vivid yellow. Relative luminance 0.644; OKLCH L 85.6% C 0.177 H 111.7°. Best body text is #000000 at 13.87:1 contrast (WCAG AA passes).

Color values

HEX#D4DA31
RGBrgb(212, 218, 49)
HSLhsl(62, 70%, 52%)
HSVhsv(62, 78%, 85%)
CMYKcmyk(2.8%, 0%, 77.5%, 14.5%)
CIE-LABlab(84.15, -20.73, 75.35)
CIE-LCHlch(84.15, 78.15, 105.38°)
OKLaboklab(85.63% -0.0654 0.164)
OKLCHoklch(85.63% 0.177 111.7)
XYZxyz(52.7790, 64.3630, 12.5482)
Luminance0.6436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4DA31 #3731DA
analogous
#DA8B31 #D4DA31 #80DA31
triadic
#D4DA31 #31D4DA #DA31D4
tetradic
#D4DA31 #31DA8B #3731DA #DA3180
square
#D4DA31 #31DA8B #3731DA #DA3180
split-complementary
#D4DA31 #3180DA #8B31DA
monochromatic
#777B16 #A9AE1F #D4DA31 #DFE365 #EAED99

Accessibility & contrast

On white

1.51
#D4DA31 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.87
#D4DA31 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4DA31
13.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4DA31#FFFFFF#000000##000000
##D4DA311.001.5113.8713.87
#FFFFFF1.511.0021.0021.00
#00000013.8721.001.001.00
##00000013.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD000
Deuteranopia (green-blind)
#ECD441
Tritanopia (blue-blind)
#E3CCBB
Achromatopsia (no color)
#D2D2D2

Design tokens & code

CSS
--color: #d4da31;
/* rgb */ color: rgb(212, 218, 49);
/* oklch */ color: oklch(85.6% 0.177 111.7);
Tailwind
colors: {
  custom: {
    50: '#e5e578',
    500: '#d4da31',
    950: '#000000',
  },
}
SCSS
$custom: #d4da31;
$custom-light: #e5e578;
$custom-dark: #000000;
JSON
{
  "hex": "#d4da31",
  "rgb": {
    "r": 212,
    "g": 218,
    "b": 49
  },
  "hsl": {
    "h": 62.13,
    "s": 69.547,
    "l": 52.353
  },
  "oklch": {
    "l": 0.8563,
    "c": 0.17658,
    "h": 111.7
  },
  "luminance": 0.64362
}

Semantic roles & 50–950 ramp

primary
#D4DA31
secondary
#302D82
accent
#3BEC42
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4DA31

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

Preview Lab → · Contrast checker → · Palette generator →

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