#D4D23E#D4D23E

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

Color values

HEX#D4D23E
RGBrgb(212, 210, 62)
HSLhsl(59, 64%, 54%)
HSVhsv(59, 71%, 83%)
CMYKcmyk(0%, 0.9%, 70.8%, 16.9%)
CIE-LABlab(82.08, -16.26, 69.29)
CIE-LCHlch(82.08, 71.17, 103.21°)
OKLaboklab(83.99% -0.0518 0.1534)
OKLCHoklch(83.99% 0.162 108.7)
XYZxyz(51.0693, 60.4396, 13.5324)
Luminance0.6044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D23E #3E40D4
analogous
#D4873E #D4D23E #8BD43E
triadic
#D4D23E #3ED4D2 #D23ED4
tetradic
#D4D23E #3ED487 #3E40D4 #D43E8B
square
#D4D23E #3ED487 #3E40D4 #D43E8B
split-complementary
#D4D23E #3E8BD4 #873ED4
monochromatic
#7C7B1C #AEAC27 #D4D23E #DFDE70 #EAE9A2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4D23E#FFFFFF#000000##000000
##D4D23E1.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)
#E3C923
Deuteranopia (green-blind)
#E5CE49
Tritanopia (blue-blind)
#E3C5B5
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d4d23e;
/* rgb */ color: rgb(212, 210, 62);
/* oklch */ color: oklch(84.0% 0.162 108.7);
Tailwind
colors: {
  custom: {
    50: '#e5df7d',
    500: '#d4d23e',
    950: '#000000',
  },
}
SCSS
$custom: #d4d23e;
$custom-light: #e5df7d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d23e",
  "rgb": {
    "r": 212,
    "g": 210,
    "b": 62
  },
  "hsl": {
    "h": 59.2,
    "s": 63.559,
    "l": 53.725
  },
  "oklch": {
    "l": 0.8399,
    "c": 0.16195,
    "h": 108.7
  },
  "luminance": 0.60438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4D23E

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

Preview Lab → · Contrast checker → · Palette generator →

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