#D4D43F#D4D43F

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

Color values

HEX#D4D43F
RGBrgb(212, 212, 63)
HSLhsl(60, 63%, 54%)
HSVhsv(60, 70%, 83%)
CMYKcmyk(0%, 0%, 70.3%, 16.9%)
CIE-LABlab(82.62, -17.20, 69.46)
CIE-LCHlch(82.62, 71.56, 103.91°)
OKLaboklab(84.42% -0.0543 0.154)
OKLCHoklch(84.42% 0.163 109.4)
XYZxyz(51.5939, 61.4444, 13.8438)
Luminance0.6144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4D43F #3F3FD4
analogous
#D48A3F #D4D43F #8AD43F
triadic
#D4D43F #3FD4D4 #D43FD4
tetradic
#D4D43F #3FD48A #3F3FD4 #D43F8A
square
#D4D43F #3FD48A #3F3FD4 #D43F8A
split-complementary
#D4D43F #3F8AD4 #8A3FD4
monochromatic
#7D7D1C #AFAF27 #D4D43F #DFDF71 #EAEAA3

Accessibility & contrast

On white

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

On black

13.29
#D4D43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4D43F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4D43F#FFFFFF#000000##000000
##D4D43F1.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5CB24
Deuteranopia (green-blind)
#E7D04A
Tritanopia (blue-blind)
#E3C7B7
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #d4d43f;
/* rgb */ color: rgb(212, 212, 63);
/* oklch */ color: oklch(84.4% 0.163 109.4);
Tailwind
colors: {
  custom: {
    50: '#e5e07e',
    500: '#d4d43f',
    950: '#000000',
  },
}
SCSS
$custom: #d4d43f;
$custom-light: #e5e07e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4d43f",
  "rgb": {
    "r": 212,
    "g": 212,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 63.404,
    "l": 53.922
  },
  "oklch": {
    "l": 0.84424,
    "c": 0.16329,
    "h": 109.4
  },
  "luminance": 0.61443
}

Semantic roles & 50–950 ramp

primary
#D4D43F
secondary
#333384
accent
#41E641
background
#FFFEFB
surface
#FEFCF2
border
#D6D5CC
text
#16150B
muted
#85847E

Preview Lab

Preview with #D4D43F

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

Preview Lab → · Contrast checker → · Palette generator →

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