#D4D23D#D4D23D

#D4D23D is a very light, vivid yellow. Relative luminance 0.604; OKLCH L 84.0% C 0.163 H 108.7°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D4D23D
RGBrgb(212, 210, 61)
HSLhsl(59, 64%, 54%)
HSVhsv(59, 71%, 83%)
CMYKcmyk(0%, 0.9%, 71.2%, 16.9%)
CIE-LABlab(82.07, -16.31, 69.63)
CIE-LCHlch(82.07, 71.52, 103.18°)
OKLaboklab(83.98% -0.052 0.154)
OKLCHoklch(83.98% 0.163 108.7)
XYZxyz(51.0422, 60.4288, 13.3892)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D23D #3D3FD4
analogous
#D4863D #D4D23D #8AD43D
triadic
#D4D23D #3DD4D2 #D23DD4
tetradic
#D4D23D #3DD486 #3D3FD4 #D43D8A
square
#D4D23D #3DD486 #3D3FD4 #D43D8A
split-complementary
#D4D23D #3D8AD4 #863DD4
monochromatic
#7B7A1B #ADAC26 #D4D23D #DFDE6F #EAE9A1

Accessibility & contrast

On white

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

On black

13.09
#D4D23D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D23D
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D23D#FFFFFF#000000##000000
##D4D23D1.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3C921
Deuteranopia (green-blind)
#E5CE48
Tritanopia (blue-blind)
#E3C4B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d23d;
/* rgb */ color: rgb(212, 210, 61);
/* oklch */ color: oklch(84.0% 0.163 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5df7d',
    500: '#d4d23d',
    950: '#000000',
  },
}
SCSS
$custom: #d4d23d;
$custom-light: #e5df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d23d",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 61
  },
  "hsl": {
    "h": 59.205,
    "s": 63.713,
    "l": 53.529
  },
  "oklch": {
    "l": 0.83984,
    "c": 0.16255,
    "h": 108.7
  },
  "luminance": 0.60427
}

Semantic roles & 50–950 ramp

primary
#D4D23D
secondary
#323383
accent
#43E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D23D

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

Preview Lab → · Contrast checker → · Palette generator →

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