#D4D64B#D4D64B

#D4D64B is a very light, vivid yellow. Relative luminance 0.626; OKLCH L 84.9% C 0.157 H 110.1°. Best body text is #000000 at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#D4D64B
RGBrgb(212, 214, 75)
HSLhsl(61, 63%, 57%)
HSVhsv(61, 65%, 84%)
CMYKcmyk(0.9%, 0%, 65%, 16.1%)
CIE-LABlab(83.23, -17.55, 65.61)
CIE-LCHlch(83.23, 67.91, 104.98°)
OKLaboklab(84.94% -0.0542 0.1478)
OKLCHoklch(84.94% 0.157 110.1)
XYZxyz(52.4696, 62.5996, 15.9742)
Luminance0.6260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D64B #4D4BD6
analogous
#D6934B #D4D64B #8FD64B
triadic
#D4D64B #4BD4D6 #D64BD4
tetradic
#D4D64B #4BD693 #4D4BD6 #D64B8F
square
#D4D64B #4BD693 #4D4BD6 #D64B8F
split-complementary
#D4D64B #4B8FD6 #934BD6
monochromatic
#86881F #B7BA2A #D4D64B #E0E17D #ECEDAF

Accessibility & contrast

On white

1.55
#D4D64B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.52
#D4D64B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D64B
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D64B#FFFFFF#000000##000000
##D4D64B1.001.5513.5213.52
#FFFFFF1.551.0021.0021.00
#00000013.5221.001.001.00
##00000013.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CD38
Deuteranopia (green-blind)
#E8D154
Tritanopia (blue-blind)
#E2C9BA
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #d4d64b;
/* rgb */ color: rgb(212, 214, 75);
/* oklch */ color: oklch(84.9% 0.157 110.1);
Tailwind
colors: {
  custom: {
    50: '#e4e284',
    500: '#d4d64b',
    950: '#000000',
  },
}
SCSS
$custom: #d4d64b;
$custom-light: #e4e284;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d64b",
  "rgb": {
    "r": 212,
    "g": 214,
    "b": 75
  },
  "hsl": {
    "h": 60.863,
    "s": 62.896,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8494,
    "c": 0.15742,
    "h": 110.1
  },
  "luminance": 0.62598
}

Semantic roles & 50–950 ramp

primary
#D4D64B
secondary
#38378E
accent
#42E644
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150B
muted
#84847E

Preview Lab

Preview with #D4D64B

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

Preview Lab → · Contrast checker → · Palette generator →

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