#D4D43C#D4D43C

#D4D43C is a very light, vivid yellow. Relative luminance 0.614; OKLCH L 84.4% C 0.165 H 109.5°. Best body text is #000000 at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#D4D43C
RGBrgb(212, 212, 60)
HSLhsl(60, 64%, 53%)
HSVhsv(60, 72%, 83%)
CMYKcmyk(0%, 0%, 71.7%, 16.9%)
CIE-LABlab(82.60, -17.34, 70.48)
CIE-LCHlch(82.60, 72.58, 103.82°)
OKLaboklab(84.4% -0.055 0.1556)
OKLCHoklch(84.4% 0.165 109.5)
XYZxyz(51.5123, 61.4118, 13.4143)
Luminance0.6141 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D43C #3C3CD4
analogous
#D4883C #D4D43C #88D43C
triadic
#D4D43C #3CD4D4 #D43CD4
tetradic
#D4D43C #3CD488 #3C3CD4 #D43C88
square
#D4D43C #3CD488 #3C3CD4 #D43C88
split-complementary
#D4D43C #3C88D4 #883CD4
monochromatic
#7B7B1B #ADAD26 #D4D43C #DFDF6E #EAEAA0

Accessibility & contrast

On white

1.58
#D4D43C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.28
#D4D43C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D43C
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D43C#FFFFFF#000000##000000
##D4D43C1.001.5813.2813.28
#FFFFFF1.581.0021.0021.00
#00000013.2821.001.001.00
##00000013.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB1E
Deuteranopia (green-blind)
#E7D048
Tritanopia (blue-blind)
#E3C6B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d43c;
/* rgb */ color: rgb(212, 212, 60);
/* oklch */ color: oklch(84.4% 0.165 109.5);
Tailwind
colors: {
  custom: {
    50: '#e5e07c',
    500: '#d4d43c',
    950: '#000000',
  },
}
SCSS
$custom: #d4d43c;
$custom-light: #e5e07c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d43c",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 60
  },
  "hsl": {
    "h": 60,
    "s": 63.866,
    "l": 53.333
  },
  "oklch": {
    "l": 0.84404,
    "c": 0.16506,
    "h": 109.5
  },
  "luminance": 0.6141
}

Semantic roles & 50–950 ramp

primary
#D4D43C
secondary
#323282
accent
#41E741
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150A
muted
#85847D

Preview Lab

Preview with #D4D43C

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

Preview Lab → · Contrast checker → · Palette generator →

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