#D4D423#D4D423

#D4D423 is a very light, vivid yellow. Relative luminance 0.612; OKLCH L 84.3% C 0.176 H 109.7°. Best body text is #000000 at 13.24:1 contrast (WCAG AA passes).

Color values

HEX#D4D423
RGBrgb(212, 212, 35)
HSLhsl(60, 72%, 48%)
HSVhsv(60, 83%, 83%)
CMYKcmyk(0%, 0%, 83.5%, 16.9%)
CIE-LABlab(82.49, -18.22, 77.47)
CIE-LCHlch(82.49, 79.58, 103.24°)
OKLaboklab(84.28% -0.0594 0.1662)
OKLCHoklch(84.28% 0.177 109.7)
XYZxyz(51.0003, 61.2070, 10.7174)
Luminance0.6120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D423 #2323D4
analogous
#D47B23 #D4D423 #7BD423
triadic
#D4D423 #23D4D4 #D423D4
tetradic
#D4D423 #23D47B #2323D4 #D4237B
square
#D4D423 #23D47B #2323D4 #D4237B
split-complementary
#D4D423 #237BD4 #7B23D4
monochromatic
#6B6B12 #9F9F1A #D4D423 #E2E252 #EBEB86

Accessibility & contrast

On white

1.59
#D4D423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.24
#D4D423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D423
13.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D423#FFFFFF#000000##000000
##D4D4231.001.5913.2413.24
#FFFFFF1.591.0021.0021.00
#00000013.2421.001.001.00
##00000013.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CB00
Deuteranopia (green-blind)
#E8D036
Tritanopia (blue-blind)
#E4C6B5
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #d4d423;
/* rgb */ color: rgb(212, 212, 35);
/* oklch */ color: oklch(84.3% 0.176 109.7);
Tailwind
colors: {
  custom: {
    50: '#e6e072',
    500: '#d4d423',
    950: '#000000',
  },
}
SCSS
$custom: #d4d423;
$custom-light: #e6e072;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d423",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 35
  },
  "hsl": {
    "h": 60,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.84282,
    "c": 0.1765,
    "h": 109.7
  },
  "luminance": 0.61205
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D423

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

Preview Lab → · Contrast checker → · Palette generator →

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