#D4D326#D4D326

#D4D326 is a very light, vivid yellow. Relative luminance 0.607; OKLCH L 84.1% C 0.175 H 109.3°. Best body text is #000000 at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#D4D326
RGBrgb(212, 211, 38)
HSLhsl(60, 70%, 49%)
HSVhsv(60, 82%, 83%)
CMYKcmyk(0%, 0.5%, 82.1%, 16.9%)
CIE-LABlab(82.23, -17.65, 76.56)
CIE-LCHlch(82.23, 78.57, 102.98°)
OKLaboklab(84.08% -0.0576 0.1647)
OKLCHoklch(84.08% 0.175 109.3)
XYZxyz(50.7975, 60.7272, 10.8790)
Luminance0.6073 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D326 #2627D4
analogous
#D47C26 #D4D326 #7ED426
triadic
#D4D326 #26D4D3 #D326D4
tetradic
#D4D326 #26D47C #2627D4 #D4267E
square
#D4D326 #26D47C #2627D4 #D4267E
split-complementary
#D4D326 #267ED4 #7C26D4
monochromatic
#6C6C13 #A09F1D #D4D326 #E1E056 #EAEA8A

Accessibility & contrast

On white

1.60
#D4D326 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.15
#D4D326 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D326
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D326#FFFFFF#000000##000000
##D4D3261.001.6013.1513.15
#FFFFFF1.601.0021.0021.00
#00000013.1521.001.001.00
##00000013.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E7CF38
Tritanopia (blue-blind)
#E4C5B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d326;
/* rgb */ color: rgb(212, 211, 38);
/* oklch */ color: oklch(84.1% 0.175 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e073',
    500: '#d4d326',
    950: '#000000',
  },
}
SCSS
$custom: #d4d326;
$custom-light: #e6e073;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d326",
  "rgb": {
    "r": 212,
    "g": 211,
    "b": 38
  },
  "hsl": {
    "h": 59.655,
    "s": 69.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.84079,
    "c": 0.17452,
    "h": 109.3
  },
  "luminance": 0.60726
}

Semantic roles & 50–950 ramp

primary
#D4D326
secondary
#292976
accent
#3CEC3B
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D326

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

Preview Lab → · Contrast checker → · Palette generator →

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