#D4D523#D4D523

#D4D523 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.5% C 0.177 H 110.0°. Best body text is #000000 at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#D4D523
RGBrgb(212, 213, 35)
HSLhsl(60, 72%, 49%)
HSVhsv(60, 84%, 84%)
CMYKcmyk(0.5%, 0%, 83.6%, 16.5%)
CIE-LABlab(82.76, -18.72, 77.69)
CIE-LCHlch(82.76, 79.91, 103.54°)
OKLaboklab(84.5% -0.0607 0.1667)
OKLCHoklch(84.5% 0.177 110)
XYZxyz(51.2510, 61.7085, 10.8010)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D523 #2423D5
analogous
#D57D23 #D4D523 #7BD523
triadic
#D4D523 #23D4D5 #D523D4
tetradic
#D4D523 #23D57D #2423D5 #D5237B
square
#D4D523 #23D57D #2423D5 #D5237B
split-complementary
#D4D523 #237BD5 #7D23D5
monochromatic
#6B6C12 #A0A01A #D4D523 #E2E353 #EBEB87

Accessibility & contrast

On white

1.57
#D4D523 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.34
#D4D523 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D523
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D523#FFFFFF#000000##000000
##D4D5231.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CB00
Deuteranopia (green-blind)
#E8D036
Tritanopia (blue-blind)
#E4C7B6
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d523;
/* rgb */ color: rgb(212, 213, 35);
/* oklch */ color: oklch(84.5% 0.177 110.0);
Tailwind
colors: {
  custom: {
    50: '#e6e172',
    500: '#d4d523',
    950: '#000000',
  },
}
SCSS
$custom: #d4d523;
$custom-light: #e6e172;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d523",
  "rgb": {
    "r": 212,
    "g": 213,
    "b": 35
  },
  "hsl": {
    "h": 60.337,
    "s": 71.774,
    "l": 48.627
  },
  "oklch": {
    "l": 0.84496,
    "c": 0.17742,
    "h": 110
  },
  "luminance": 0.61707
}

Semantic roles & 50–950 ramp

primary
#D4D523
secondary
#272775
accent
#39EF3A
background
#FFFEFB
surface
#FEFCF1
border
#D6D5CB
text
#171509
muted
#85847D

Preview Lab

Preview with #D4D523

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

Preview Lab → · Contrast checker → · Palette generator →

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