#D4D323#D4D323

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

Color values

HEX#D4D323
RGBrgb(212, 211, 35)
HSLhsl(60, 72%, 48%)
HSVhsv(60, 83%, 83%)
CMYKcmyk(0%, 0.5%, 83.5%, 16.9%)
CIE-LABlab(82.22, -17.73, 77.24)
CIE-LCHlch(82.22, 79.25, 102.93°)
OKLaboklab(84.07% -0.058 0.1657)
OKLCHoklch(84.07% 0.176 109.3)
XYZxyz(50.7511, 60.7086, 10.6343)
Luminance0.6071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D323 #2324D4
analogous
#D47A23 #D4D323 #7CD423
triadic
#D4D323 #23D4D3 #D323D4
tetradic
#D4D323 #23D47A #2324D4 #D4237C
square
#D4D323 #23D47A #2324D4 #D4237C
split-complementary
#D4D323 #237CD4 #7A23D4
monochromatic
#6B6A12 #9F9F1A #D4D323 #E2E252 #EBEB86

Accessibility & contrast

On white

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

On black

13.14
#D4D323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D323
13.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D323#FFFFFF#000000##000000
##D4D3231.001.6013.1413.14
#FFFFFF1.601.0021.0021.00
#00000013.1421.001.001.00
##00000013.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CA00
Deuteranopia (green-blind)
#E7CF36
Tritanopia (blue-blind)
#E4C5B4
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d323;
/* rgb */ color: rgb(212, 211, 35);
/* oklch */ color: oklch(84.1% 0.176 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e072',
    500: '#d4d323',
    950: '#000000',
  },
}
SCSS
$custom: #d4d323;
$custom-light: #e6e072;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d323",
  "rgb": {
    "r": 212,
    "g": 211,
    "b": 35
  },
  "hsl": {
    "h": 59.661,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84067,
    "c": 0.17558,
    "h": 109.3
  },
  "luminance": 0.60707
}

Semantic roles & 50–950 ramp

primary
#D4D323
secondary
#272775
accent
#3AEE39
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D323

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

Preview Lab → · Contrast checker → · Palette generator →

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